aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2015-09-23 19:02:36 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2015-09-23 19:02:36 +0200
commite57e0fa701d659ad8acf83cb14f7caa0bd563068 (patch)
tree4f3a662bd08f33c9cd43cc7100155afa208da598 /openbsc
parent732665269e2f7d2494da48fab44021fa7efd638f (diff)
bsc_nat: Fix 1 log error output of wrong variable.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 1fc262df5..c70153fd2 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1024,7 +1024,7 @@ static int verify_key(struct bsc_connection *conn, struct bsc_config *conf, cons
if (vec.res_len != 8) {
LOGP(DNAT, LOGL_ERROR, "Res length is wrong: %d for bsc nr %d\n",
- keylen, conf->nr);
+ vec.res_len, conf->nr);
return 0;
}