From e57e0fa701d659ad8acf83cb14f7caa0bd563068 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 23 Sep 2015 19:02:36 +0200 Subject: bsc_nat: Fix 1 log error output of wrong variable. --- openbsc/src/osmo-bsc_nat/bsc_nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src') 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; } -- cgit v1.2.3