mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 15:36:25 +00:00
pim6d: Enable protocol as VTYSH_PIM6D for pim6_cmd.c
Signed-off-by: sarita patra <saritap@vmware.com>
This commit is contained in:
parent
5d97021ba3
commit
8fc3ba676e
@ -143,10 +143,9 @@ sub scan_file {
|
||||
elsif ($fabricd) {
|
||||
$protocol = "VTYSH_FABRICD";
|
||||
}
|
||||
# Enable VTYSH_PIM6D once pim6_cmd.c is merged
|
||||
# elsif ($file =~ /pimd\/pim6_cmd\.c$/) {
|
||||
# $protocol = "VTYSH_PIM6D";
|
||||
# }
|
||||
elsif ($file =~ /pimd\/pim6_.*\.c$/) {
|
||||
$protocol = "VTYSH_PIM6D";
|
||||
}
|
||||
else {
|
||||
($protocol) = ($file =~ /^(?:.*\/)?([a-z0-9]+)\/[a-zA-Z0-9_\-]+\.c$/);
|
||||
$protocol = "VTYSH_" . uc $protocol;
|
||||
|
Loading…
Reference in New Issue
Block a user