summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-04-14 00:00:43 +0200
committerDavid Lamparter <equinox@diac24.net>2021-04-15 23:12:45 +0200
commit9cb089fc43bccbe4159c7a9a24e9dc06ed5c943f (patch)
tree2955decc0468ebd45bf118970b59e8be4cd16e12
parentc4e57cd52e4faace1645291a6ab3b9a84993a9fc (diff)
vtysh: add lib/resolver.c to vtysh_scan
Signed-off-by: David Lamparter <equinox@diac24.net>
-rw-r--r--lib/subdir.am1
-rwxr-xr-xvtysh/extract.pl.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/subdir.am b/lib/subdir.am
index 61390419f2..bd24ccbfb8 100644
--- a/lib/subdir.am
+++ b/lib/subdir.am
@@ -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 \
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index 345e564e01..2b26d366f8 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -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";
}