From 9cb089fc43bccbe4159c7a9a24e9dc06ed5c943f Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 14 Apr 2021 00:00:43 +0200 Subject: [PATCH] vtysh: add lib/resolver.c to vtysh_scan Signed-off-by: David Lamparter --- lib/subdir.am | 1 + vtysh/extract.pl.in | 3 +++ 2 files changed, 4 insertions(+) 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"; } -- 2.39.5