summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2024-12-16 09:57:31 -0300
committerGitHub <noreply@github.com>2024-12-16 09:57:31 -0300
commit3bebb7be9204a51f194317438aa883f1b10c8646 (patch)
tree6e4e508a35f6d03491661b25b645008d8ae7dd5a /zebra/zebra_router.c
parent30467f8f2b3a671973aa4b0aa2bcc1e3a208cc56 (diff)
parent06c3436a12226d1f7e18e549f562ba9ecde4b394 (diff)
Merge pull request #17252 from nabahr/mcast-mode
Fix PIMD RPF lookup mode and nexthop tracking
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c
index 4022c1a26f..ae2910af41 100644
--- a/zebra/zebra_router.c
+++ b/zebra/zebra_router.c
@@ -23,7 +23,6 @@ DEFINE_MTYPE_STATIC(ZEBRA, ZEBRA_RT_TABLE, "Zebra VRF table");
struct zebra_router zrouter = {
.multipath_num = MULTIPATH_NUM,
- .ipv4_multicast_mode = MCAST_NO_CONFIG,
};
static inline int
@@ -221,19 +220,6 @@ uint32_t zebra_router_get_next_sequence(void)
memory_order_relaxed);
}
-void multicast_mode_ipv4_set(enum multicast_mode mode)
-{
- if (IS_ZEBRA_DEBUG_RIB)
- zlog_debug("%s: multicast lookup mode set (%d)", __func__,
- mode);
- zrouter.ipv4_multicast_mode = mode;
-}
-
-enum multicast_mode multicast_mode_ipv4_get(void)
-{
- return zrouter.ipv4_multicast_mode;
-}
-
void zebra_router_terminate(void)
{
struct zebra_router_table *zrt, *tmp;