summaryrefslogtreecommitdiff
path: root/zebra/zebra_mroute.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_mroute.h')
-rw-r--r--zebra/zebra_mroute.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_mroute.h b/zebra/zebra_mroute.h
index 3385153600..3c12b82da3 100644
--- a/zebra/zebra_mroute.h
+++ b/zebra/zebra_mroute.h
@@ -24,6 +24,10 @@
#include "zebra/zserv.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct mcast_route_data {
struct prefix_sg sg;
unsigned int ifindex;
@@ -32,4 +36,8 @@ struct mcast_route_data {
void zebra_ipmr_route_stats(ZAPI_HANDLER_ARGS);
+#ifdef __cplusplus
+}
+#endif
+
#endif