From fd9f0c0640fd02a26b96b4f9d3cbbffbb6544a84 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 8 Apr 2020 22:25:15 +0200 Subject: Configuration strings are constant. This is merely a const propagation. There was no problem in there. --- proto/rip/rip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/rip/rip.c') diff --git a/proto/rip/rip.c b/proto/rip/rip.c index 25ee16fd..f02d5071 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -1208,7 +1208,7 @@ rip_get_attr(eattr *a, byte *buf, int buflen UNUSED) } void -rip_show_interfaces(struct proto *P, char *iff) +rip_show_interfaces(struct proto *P, const char *iff) { struct rip_proto *p = (void *) P; struct rip_iface *ifa = NULL; @@ -1246,7 +1246,7 @@ rip_show_interfaces(struct proto *P, char *iff) } void -rip_show_neighbors(struct proto *P, char *iff) +rip_show_neighbors(struct proto *P, const char *iff) { struct rip_proto *p = (void *) P; struct rip_iface *ifa = NULL; -- cgit v1.2.3