From: David Lamparter Date: Tue, 13 Apr 2021 22:00:43 +0000 (+0200) Subject: vtysh: add lib/resolver.c to vtysh_scan X-Git-Tag: base_8.0~132^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9cb089fc43bccbe4159c7a9a24e9dc06ed5c943f;p=mirror%2Ffrr.git vtysh: add lib/resolver.c to vtysh_scan Signed-off-by: David Lamparter --- 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"; }