]> git.puffer.fish Git - mirror/frr.git/commit
pim6d: Don't display MLD disabled or down interfaces in "show ipv6 mld interface...
authorSarita Patra <saritap@vmware.com>
Fri, 24 Feb 2023 15:01:22 +0000 (07:01 -0800)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 27 Feb 2023 19:03:11 +0000 (19:03 +0000)
commitaa3f3511de5b09c088bd503f4a0ef970757ed907
tree5d1824bb4029ba55fdde191d10a2e6a0bc059c24
parent63b643d1cf0a7d218bebc2570c1cbd25c361e084
pim6d: Don't display MLD disabled or down interfaces in "show ipv6 mld interface" cmd

We should not display down interfaces or MLD disabled interfaces in
"show ipv6 mld interface" command.

Before fix:
==========
frr# show ipv6 mld interface
Interface         State  V  Querier                    Timer               Uptime
ens192            up     2  fe80::250:56ff:feb7:d04    query 00:00:25.432  00:00:07.038
ens224            up     1  fe80::250:56ff:feb7:a7e3   query 00:00:24.219  00:00:07.031
pim6reg            down

After fix:
=========
frr# show ipv6 mld interface
Interface         State  V  Querier                    Timer               Uptime
ens192            up     2  fe80::250:56ff:feb7:d04    query 00:00:25.432  00:00:07.038
ens224            up     1  fe80::250:56ff:feb7:a7e3   query 00:00:24.219  00:00:07.031

Issue: #11241

Signed-off-by: Sarita Patra <saritap@vmware.com>
(cherry picked from commit fe4db62c3dbc7a2ab1b27ae879bf0a76dcfe5b4d)
pimd/pim6_mld.c