summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
}