From 0b42c70840e16b048f62a38652123eb2cb900b65 Mon Sep 17 00:00:00 2001 From: Ang Way Chuang Date: Fri, 27 Jan 2012 20:52:27 +0400 Subject: vtysh: fix regexp for install_element() in babeld --- vtysh/extract.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vtysh/extract.pl.in') diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index 6f1ee933..c487a81a 100755 --- a/vtysh/extract.pl.in +++ b/vtysh/extract.pl.in @@ -68,7 +68,7 @@ foreach (@ARGV) { close (FH); @defun = ($line =~ /(?:DEFUN|ALIAS)\s*\((.+?)\);?\s?\s?\n/sg); - @install = ($line =~ /install_element \(\s*[0-9A-Z_]+,\s*&[^;]*;\s*\n/sg); + @install = ($line =~ /install_element\s*\(\s*[0-9A-Z_]+,\s*&[^;]*;\s*\n/sg); # DEFUN process foreach (@defun) { -- cgit v1.2.1 From feb6c53eacf630bf18d29e1994f65e567dbdd985 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Tue, 7 Feb 2012 04:58:49 +0100 Subject: vtysh: Vtysh support for babeld. --- vtysh/extract.pl.in | 1 + 1 file changed, 1 insertion(+) (limited to 'vtysh/extract.pl.in') diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index c487a81a..61b2d2a2 100755 --- a/vtysh/extract.pl.in +++ b/vtysh/extract.pl.in @@ -37,6 +37,7 @@ $ignore{'"router ripng"'} = "ignore"; $ignore{'"router ospf"'} = "ignore"; $ignore{'"router ospf <0-65535>"'} = "ignore"; $ignore{'"router ospf6"'} = "ignore"; +$ignore{'"router babel"'} = "ignore"; $ignore{'"router bgp " "<1-4294967295>"'} = "ignore"; $ignore{'"router bgp " "<1-4294967295>" " view WORD"'} = "ignore"; $ignore{'"router isis WORD"'} = "ignore"; -- cgit v1.2.1