summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_routemap.c
diff options
context:
space:
mode:
authorJorge Boncompte <jbonor@gmail.com>2017-07-25 12:06:31 +0200
committerJorge Boncompte <jbonor@gmail.com>2017-08-04 10:19:36 +0200
commit5b9471f9bb24d0e6e3884a602defa07f9a21c4bc (patch)
treee5603146dbaeb4b90803cb6a5e075663b545e047 /zebra/zebra_routemap.c
parentzebra: fix compilation in 32bit platform (diff)
downloadfrr-5b9471f9bb24d0e6e3884a602defa07f9a21c4bc.tar.xz
frr-5b9471f9bb24d0e6e3884a602defa07f9a21c4bc.zip
zebra: add missing protocols names to source-protocol route-map match
Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
Diffstat (limited to 'zebra/zebra_routemap.c')
-rw-r--r--zebra/zebra_routemap.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c
index 0176b3684..c738cde0a 100644
--- a/zebra/zebra_routemap.c
+++ b/zebra/zebra_routemap.c
@@ -256,7 +256,7 @@ DEFUN (no_match_ip_nexthop_prefix_len,
DEFUN (match_source_protocol,
match_source_protocol_cmd,
- "match source-protocol <bgp|ospf|rip|ripng|isis|ospf6|connected|system|kernel|static>",
+ "match source-protocol <bgp|ospf|rip|ripng|isis|ospf6|pim|nhrp|eigrp|babel|connected|system|kernel|static>",
MATCH_STR
"Match protocol via which the route was learnt\n"
"BGP protocol\n"
@@ -265,6 +265,10 @@ DEFUN (match_source_protocol,
"RIPNG protocol\n"
"ISIS protocol\n"
"OSPF6 protocol\n"
+ "PIM protocol\n"
+ "NHRP protocol\n"
+ "EIGRP protocol\n"
+ "BABEL protocol\n"
"Routes from directly connected peer\n"
"Routes from system configuration\n"
"Routes from kernel\n"
@@ -284,7 +288,7 @@ DEFUN (match_source_protocol,
DEFUN (no_match_source_protocol,
no_match_source_protocol_cmd,
- "no match source-protocol [<bgp|ospf|rip|ripng|isis|ospf6|connected|system|kernel|static>]",
+ "no match source-protocol [<bgp|ospf|rip|ripng|isis|ospf6|pim|nhrp|eigrp|babel|connected|system|kernel|static>]",
NO_STR
MATCH_STR
"No match protocol via which the route was learnt\n"
@@ -294,6 +298,10 @@ DEFUN (no_match_source_protocol,
"RIPNG protocol\n"
"ISIS protocol\n"
"OSPF6 protocol\n"
+ "PIM protocol\n"
+ "NHRP protocol\n"
+ "EIGRP protocol\n"
+ "BABEL protocol\n"
"Routes from directly connected peer\n"
"Routes from system configuration\n"
"Routes from kernel\n"