summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-10-30 07:21:45 -0400
committerGitHub <noreply@github.com>2020-10-30 07:21:45 -0400
commitcd8cae5489fbd9a15dec625074adc15ef350d5f9 (patch)
treecf910031232c78d91d45a4a8632da667a412fc52 /zebra/interface.h
parentb131b5f539962c2a438cd7434bd83e14888437b7 (diff)
parent904e9b057031e7063fb3c4094f6009c0c4aa8a14 (diff)
Merge pull request #7415 from mjstapp/fix_sa_strlen
ospfd, zebra: Fix SA warnings
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index a925dcc962..ab1a245e5e 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -491,8 +491,8 @@ extern bool if_nhg_dependents_is_empty(const struct interface *ifp);
extern void vrf_add_update(struct vrf *vrfp);
extern void zebra_l2_map_slave_to_bond(struct zebra_if *zif, vrf_id_t vrf);
extern void zebra_l2_unmap_slave_from_bond(struct zebra_if *zif);
-extern char *zebra_protodown_rc_str(enum protodown_reasons protodown_rc,
- char *pd_buf, uint32_t pd_buf_len);
+extern const char *zebra_protodown_rc_str(enum protodown_reasons protodown_rc,
+ char *pd_buf, uint32_t pd_buf_len);
#ifdef HAVE_PROC_NET_DEV
extern void ifstat_update_proc(void);