summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/sgsn_vty.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-29 15:11:55 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-29 15:11:55 +0200
commitb7ae0b34f94b93555370f4492076f7d57ed7031a (patch)
tree88d8d587aedbdf9696ae79845ca9aca2e8468b14 /openbsc/src/gprs/sgsn_vty.c
parenta5a6da46a0b22d5c7695774c6c7eb26856bc6488 (diff)
ggsn: The id is a uint32_t don't print it as signed
This was noticed as I started to use UINT32_MAX for dynamically created GGSNs.
Diffstat (limited to 'openbsc/src/gprs/sgsn_vty.c')
-rw-r--r--openbsc/src/gprs/sgsn_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/sgsn_vty.c b/openbsc/src/gprs/sgsn_vty.c
index 70d299b42..f8182217b 100644
--- a/openbsc/src/gprs/sgsn_vty.c
+++ b/openbsc/src/gprs/sgsn_vty.c
@@ -167,11 +167,11 @@ static int config_write_sgsn(struct vty *vty)
vty_out(vty, " ! apn * ggsn 0%s", VTY_NEWLINE);
llist_for_each_entry(actx, &sgsn_apn_ctxts, list) {
if (strlen(actx->imsi_prefix) > 0)
- vty_out(vty, " apn %s imsi-prefix %s ggsn %d%s",
+ vty_out(vty, " apn %s imsi-prefix %s ggsn %u%s",
actx->name, actx->imsi_prefix, actx->ggsn->id,
VTY_NEWLINE);
else
- vty_out(vty, " apn %s ggsn %d%s", actx->name,
+ vty_out(vty, " apn %s ggsn %u%s", actx->name,
actx->ggsn->id, VTY_NEWLINE);
}