]> git.puffer.fish Git - mirror/frr.git/commitdiff
vtysh: add lib/resolver.c to vtysh_scan
authorDavid Lamparter <equinox@diac24.net>
Tue, 13 Apr 2021 22:00:43 +0000 (00:00 +0200)
committerDavid Lamparter <equinox@diac24.net>
Thu, 15 Apr 2021 21:12:45 +0000 (23:12 +0200)
Signed-off-by: David Lamparter <equinox@diac24.net>
lib/subdir.am
vtysh/extract.pl.in

index 61390419f2a87be3aceebe3045895b6f1eb58e9b..bd24ccbfb83bef7ae9ee756aa49fb564ba980e6e 100644 (file)
@@ -144,6 +144,7 @@ vtysh_scan += \
        lib/log_vty.c \
        lib/nexthop_group.c \
        lib/plist.c \
+       lib/resolver.c \
        lib/routemap.c \
        lib/routemap_cli.c \
        lib/spf_backoff.c \
index 345e564e013953389aa76af4353bc187d2711925..2b26d366f80c6d6fe3ea558bff81a62933056633 100755 (executable)
@@ -133,6 +133,9 @@ sub scan_file {
                 $protocol = "VTYSH_RIPD";
             }
         }
+       elsif ($file =~ /lib\/resolver\.c$/) {
+           $protocol = "VTYSH_NHRPD|VTYSH_BGPD";
+       }
        elsif ($file =~ /lib\/spf_backoff\.c$/) {
            $protocol = "VTYSH_ISISD";
        }