summaryrefslogtreecommitdiffstats
path: root/src/gb
diff options
context:
space:
mode:
Diffstat (limited to 'src/gb')
-rw-r--r--src/gb/gprs_ns.c2
-rw-r--r--src/gb/gprs_ns_vty.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c
index 679b59da..a00c8e52 100644
--- a/src/gb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
@@ -1170,7 +1170,7 @@ int gprs_ns_rcvmsg(struct gprs_ns_inst *nsi, struct msgb *msg,
return rc;
}
-const char *gprs_ns_ll_str(struct gprs_nsvc *nsvc)
+const char *gprs_ns_ll_str(const struct gprs_nsvc *nsvc)
{
static char buf[80];
diff --git a/src/gb/gprs_ns_vty.c b/src/gb/gprs_ns_vty.c
index a3f7b2b5..e8ef2a21 100644
--- a/src/gb/gprs_ns_vty.c
+++ b/src/gb/gprs_ns_vty.c
@@ -156,7 +156,7 @@ DEFUN(cfg_ns, cfg_ns_cmd,
return CMD_SUCCESS;
}
-static void dump_nse(struct vty *vty, struct gprs_nsvc *nsvc, bool stats, bool persistent_only)
+static void dump_nse(struct vty *vty, const struct gprs_nsvc *nsvc, bool stats, bool persistent_only)
{
if (persistent_only)
if (!nsvc->persistent)
@@ -186,7 +186,7 @@ static void dump_nse(struct vty *vty, struct gprs_nsvc *nsvc, bool stats, bool p
}
}
-static void dump_ns(struct vty *vty, struct gprs_ns_inst *nsi, bool stats, bool persistent_only)
+static void dump_ns(struct vty *vty, const struct gprs_ns_inst *nsi, bool stats, bool persistent_only)
{
struct gprs_nsvc *nsvc;
struct in_addr ia;