diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-08-15 12:13:54 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-08-15 12:13:54 +0300 |
| commit | 58a93c2edaba537d14286deb1341a2a952321a00 (patch) | |
| tree | 10a2a64bf7a875d1db3ca48a8c55add3670601f0 /pbrd/pbr_debug.h | |
| parent | b886422443355237ab08f62bb89873c084ffe3b1 (diff) | |
lib: Lower precedence for ASNUM_TKN when using together with IPV4/IPV6_TKN
When using together with IPV4/IPV6_TKN, this breaks an existing command like:
```
donatas-pc# clear bgp ipv6 unicast 2a02::1
% Ambiguous command: clear bgp ipv6 unicast 2a02::1
donatas-pc#
```
With this fix:
```
donatas-pc# clear bgp ipv6 unicast 2a02::1
% BGP: Unknown neighbor - "2a02::1"
donatas-pc# clear bgp ipv6 unicast 2.2
% BGP: No IPv6 Unicast peer is configured with AS 2.2
donatas-pc# clear bgp ipv6 unicast 123
% BGP: No IPv6 Unicast peer is configured with AS 123
donatas-pc# clear bgp ipv4 unicast 127.0.0.1
donatas-pc#
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'pbrd/pbr_debug.h')
0 files changed, 0 insertions, 0 deletions
