From 3b83faf23844eca807c70737327f9879fe9b7d1e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 17 May 2018 10:40:58 -0400 Subject: [PATCH] zebra: Add sharp to protocols that you can match source-protocol on Signed-off-by: Donald Sharp --- zebra/zebra_routemap.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c index 0382df69a9..10ba88880a 100644 --- a/zebra/zebra_routemap.c +++ b/zebra/zebra_routemap.c @@ -288,7 +288,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" @@ -304,7 +304,8 @@ DEFUN (match_source_protocol, "Routes from directly connected peer\n" "Routes from system configuration\n" "Routes from kernel\n" - "Statically configured routes\n") + "Statically configured routes\n" + "SHARP process\n") { char *proto = argv[2]->text; int i; @@ -320,7 +321,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" @@ -337,7 +338,8 @@ DEFUN (no_match_source_protocol, "Routes from directly connected peer\n" "Routes from system configuration\n" "Routes from kernel\n" - "Statically configured routes\n") + "Statically configured routes\n" + "SHARP process\n") { char *proto = (argc == 4) ? argv[3]->text : NULL; return zebra_route_match_delete(vty, "source-protocol", proto, -- 2.39.5