diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-16 00:45:07 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:20 +0800 |
commit | 48945b18cd703c1a3fa97984509951a5d36edf6b (patch) | |
tree | b2d10b2bd4726118dc3ed9f4cd53dc5428c1cbd0 | |
parent | f192498885fe1f6776f9056aa4ec934418f8423b (diff) |
[nat] Print on which BSC config this happend.
-rw-r--r-- | openbsc/src/nat/bsc_nat_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c index d30c8c6c9..32301f5a8 100644 --- a/openbsc/src/nat/bsc_nat_utils.c +++ b/openbsc/src/nat/bsc_nat_utils.c @@ -208,7 +208,7 @@ static int auth_imsi(struct bsc_connection *bsc, const char *mi_string) if (bsc->cfg->imsi_deny) { if (regexec(&bsc->cfg->imsi_deny_re, mi_string, 0, NULL, 0) == 0) { LOGP(DNAT, LOGL_ERROR, - "Filtering %s by imsi_deny.\n", mi_string); + "Filtering %s by imsi_deny on bsc nr: %d.\n", mi_string, bsc->cfg->nr); return -2; } } @@ -223,7 +223,7 @@ static int auth_imsi(struct bsc_connection *bsc, const char *mi_string) if (bsc->nat->imsi_deny) { if (regexec(&bsc->nat->imsi_deny_re, mi_string, 0, NULL, 0) == 0) { LOGP(DNAT, LOGL_ERROR, - "Filtering %s by nat imsi_deny.\n", mi_string); + "Filtering %s by nat imsi_deny on bsc nr: %d.\n", mi_string, bsc->cfg->nr); return -3; } } |