]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: add missing protocols names to source-protocol route-map match
authorJorge Boncompte <jbonor@gmail.com>
Tue, 25 Jul 2017 10:06:31 +0000 (12:06 +0200)
committerJorge Boncompte <jbonor@gmail.com>
Fri, 4 Aug 2017 08:19:36 +0000 (10:19 +0200)
Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
zebra/zebra_routemap.c

index 0176b36840a8c351d5b0d707ee895231f8cb0ed1..c738cde0ac540f5b292fbd7b6c2f9b5451818136 100644 (file)
@@ -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"