]> git.puffer.fish Git - mirror/frr.git/commitdiff
pim6d: Correct the show ip prefix-list display for pim6d 10904/head
authorMobashshera Rasool <mrasool@vmware.com>
Mon, 28 Mar 2022 06:58:48 +0000 (23:58 -0700)
committerMobashshera Rasool <mrasool@vmware.com>
Mon, 28 Mar 2022 10:23:48 +0000 (03:23 -0700)
Currently the PIM6d component is getting displayed under
"show ip prefix-list" instead of "show ipv6 prefix-list".
Fixed it.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
vtysh/extract.pl.in

index 07819ea76d6ea2a49c3cec9279313be5e6e2a846..228a136b71feb8df259d3b9386036badea3b99df 100755 (executable)
@@ -116,9 +116,9 @@ sub scan_file {
        }
         elsif ($file =~ /lib\/plist\.c$/) {
             if ($defun_array[1] =~ m/ipv6/) {
-                $protocol = "VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_BABELD|VTYSH_ISISD|VTYSH_FABRICD";
+                $protocol = "VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIM6D|VTYSH_BABELD|VTYSH_ISISD|VTYSH_FABRICD";
             } else {
-                $protocol = "VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_PIM6D|VTYSH_EIGRPD|VTYSH_BABELD|VTYSH_ISISD|VTYSH_FABRICD";
+                $protocol = "VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_EIGRPD|VTYSH_BABELD|VTYSH_ISISD|VTYSH_FABRICD";
             }
         }
         elsif ($file =~ /lib\/if_rmap\.c$/) {