]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd, lib: fix inconsistency of match ip/ipv6 next-hop commands
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 19 Nov 2021 18:11:52 +0000 (21:11 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 19 Nov 2021 18:11:52 +0000 (21:11 +0300)
commit03030106ced5cd7c8784253b489788619087dcf1
tree9d0223414ed6f8f09fd2f17e65b072256dc686a6
parent41eec96003cb60771105b5105072681e990f7b5c
bgpd, lib: fix inconsistency of match ip/ipv6 next-hop commands

For IPv4 matching, we have "match ip next-hop address A.B.C.D".
For IPv6 matching, we have "match ipv6 next-hop X:X::X:X".

To have consistency, let's add "address" keyword to IPv6 commands.
Old commands are preserved as hidden for backward compatibility.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_routemap.c
bgpd/bgp_routemap_nb_config.c
doc/user/routemap.rst
lib/routemap_cli.c