From 5b9471f9bb24d0e6e3884a602defa07f9a21c4bc Mon Sep 17 00:00:00 2001 From: Jorge Boncompte Date: Tue, 25 Jul 2017 12:06:31 +0200 Subject: [PATCH] zebra: add missing protocols names to source-protocol route-map match Signed-off-by: Jorge Boncompte --- zebra/zebra_routemap.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c index 0176b36840..c738cde0ac 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 ", + "match source-protocol ", 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 []", + "no match source-protocol []", 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" -- 2.39.5