diff options
author | Arthur de Kerhor <arthurdekerhor@gmail.com> | 2021-06-17 09:34:12 +0200 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-06-17 10:32:56 +0000 |
commit | 55d46df4be5945a5294f6909d151936648895db7 (patch) | |
tree | 8b6fc244f7f6113ecbd018993ca566f3220869f5 /test/test_srv6_mobile.py | |
parent | 91adf2449f23b9362fa6a07315e83548fe7c1c4b (diff) |
fib: changing parsing order to avoid corner case
mfib interface flags are parsed before the interface name. For some
specific names, this creates a bug when adding routes.
ex: ip route add 10.0.2.0/24 via FortyGigabitEthernetd8/0/0
The 'F' at the beginnig of the interface name is parsed as the
"Forward" flag. Because of that, the interface name parsed is
"ortyGigabitEthernetd8/0/0" which results in a parsing error.
Type: fix
Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
Change-Id: Ib76c2f86416455841f910f7b466b467001072b70
Diffstat (limited to 'test/test_srv6_mobile.py')
0 files changed, 0 insertions, 0 deletions