diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-09-28 14:40:23 +0200 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2025-02-13 12:45:47 -0300 |
| commit | df9517c95a09e2860cd9c049ee8fe2a5b1a7a48f (patch) | |
| tree | 9ae429789a1e1e6551a10ac584558ec2602ff1ea /pimd/pim_nb.c | |
| parent | f70530c8e8ada9fcc7fd6a83e7a1e211b11b2131 (diff) | |
pimd: add IGMPv2/MLDv1 immediate-leave
(Somewhat) useful when dealing with an interface that has only one host
attached. Only works for IGMPv2 and MLDv1, other protocol versions have
no leave message.
Co-authored-by: David Lamparter <equinox@opensourcerouting.org>
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_nb.c')
| -rw-r--r-- | pimd/pim_nb.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pimd/pim_nb.c b/pimd/pim_nb.c index 62c5d531d9..3cd5c0f4e5 100644 --- a/pimd/pim_nb.c +++ b/pimd/pim_nb.c @@ -743,7 +743,13 @@ const struct frr_yang_module_info frr_gmp_info = { .modify = lib_interface_gmp_address_family_proxy_modify, } }, -{ + { + .xpath = "/frr-interface:lib/interface/frr-gmp:gmp/address-family/immediate-leave", + .cbs = { + .modify = lib_interface_gmp_immediate_leave_modify, + } + }, + { .xpath = "/frr-interface:lib/interface/frr-gmp:gmp/address-family/static-group", .cbs = { .create = lib_interface_gmp_address_family_static_group_create, |
