mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 06:29:40 +00:00
vtysh: fix regexp for install_element() in babeld
This commit is contained in:
parent
a19a3bf947
commit
0b42c70840
@ -68,7 +68,7 @@ foreach (@ARGV) {
|
|||||||
close (FH);
|
close (FH);
|
||||||
|
|
||||||
@defun = ($line =~ /(?:DEFUN|ALIAS)\s*\((.+?)\);?\s?\s?\n/sg);
|
@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
|
# DEFUN process
|
||||||
foreach (@defun) {
|
foreach (@defun) {
|
||||||
|
Loading…
Reference in New Issue
Block a user