summaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns_vty.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-10-24 18:18:55 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-24 16:34:41 +0000
commitcbf5cdfe7eb10e6efee16cbd6b5e7b910f8c47a7 (patch)
tree0d71b07ceb4ce87141919959a2784d5ce264eb89 /src/gb/gprs_ns_vty.c
parent296511befc8d5050dc5fe0d8497b4a7acb7ce8c5 (diff)
GPRS: constify NS printing routine parameters
Change-Id: I549ab7c26ac1489e01f281594bafe44b0681dc83
Diffstat (limited to 'src/gb/gprs_ns_vty.c')
-rw-r--r--src/gb/gprs_ns_vty.c4
1 files changed, 2 insertions, 2 deletions
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;