summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
authorAng Way Chuang <wcang79@gmail.com>2012-01-27 20:52:27 +0400
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:53 +0100
commit0b42c70840e16b048f62a38652123eb2cb900b65 (patch)
treed0aec2e81624a7b0c43a0319515d257439f57e59 /vtysh
parenta19a3bf94740aebff6fdfc76f3d4b17c0013fae4 (diff)
vtysh: fix regexp for install_element() in babeld
Diffstat (limited to 'vtysh')
-rwxr-xr-xvtysh/extract.pl.in2
1 files changed, 1 insertions, 1 deletions
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) {