summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-09 14:11:10 -0400
committerGitHub <noreply@github.com>2018-09-09 14:11:10 -0400
commit5381b930b38edbf6797ae058593546b718133cb1 (patch)
treeaeaabaa7a8231f096f91d07d9a488564761a9a82 /lib/if.c
parent55e6c1329f78d5c672a58ff1fad86d7711a649c3 (diff)
parent7b34167d7dac6e898c49c675cfc80ae68c64bc98 (diff)
Merge pull request #2965 from opensourcerouting/buildfoo-20180904
more build fixes & warning-free build
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index 2bf0c6e6b5..a03c9da6f9 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -619,7 +619,7 @@ DEFUN (no_interface_desc,
* if not:
* - no idea, just get the name in its entirety.
*/
-static struct interface *if_sunwzebra_get(char *name, vrf_id_t vrf_id)
+static struct interface *if_sunwzebra_get(const char *name, vrf_id_t vrf_id)
{
struct interface *ifp;
char *cp;