aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_auth.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-05-05 18:31:37 +0200
committerHarald Welte <laforge@gnumonks.org>2016-05-05 18:31:37 +0200
commit7c55ede8b12faf1420b25ba30b5a22467fb2445c (patch)
tree404e43e5a305b74948a787c4afad8ee27b0d8a6b /openbsc/src/gprs/sgsn_auth.c
parent5f2524fe3d7242530f2088635df03df297862da0 (diff)
Add human-readable name of SGSN_AUTH_AUTHENTICATE
In commit 4adb136da63a1d3ed523ad85e12fd99fc62f5701 we introduced a new authentication state SGSN_AUTH_AUTHENTICATE, but we didn't add that to auth_state_names[] resulting in log messages printing it abut 'unknown 0x1' rather than something more useful.
Diffstat (limited to 'openbsc/src/gprs/sgsn_auth.c')
-rw-r--r--openbsc/src/gprs/sgsn_auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/sgsn_auth.c b/openbsc/src/gprs/sgsn_auth.c
index f0c4316c0..4b69a0d10 100644
--- a/openbsc/src/gprs/sgsn_auth.c
+++ b/openbsc/src/gprs/sgsn_auth.c
@@ -30,6 +30,7 @@ const struct value_string auth_state_names[] = {
{ SGSN_AUTH_ACCEPTED, "accepted"},
{ SGSN_AUTH_REJECTED, "rejected"},
{ SGSN_AUTH_UNKNOWN, "unknown"},
+ { SGSN_AUTH_AUTHENTICATE, "authenticate" },
{ 0, NULL }
};