]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: fix display of static routes pointing to nonexistent interfaces
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 22 Aug 2017 13:52:07 +0000 (10:52 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 22 Aug 2017 13:52:07 +0000 (10:52 -0300)
commitb81ef7b30a074ab6f90446e595a7ef4aefc75fad
tree49fe9b63674e0fcca89e8614dd26a1423cd66b19
parent3f543889568e7f267f6f6d1e919eeb31a21ee97f
zebra: fix display of static routes pointing to nonexistent interfaces

Bug introduced a couple of weeks ago by myself. Only happens when the
route has an IP nexthop + a nexthop interface.

Example:
debian(config)# ip route 10.0.1.0/24 172.16.1.10 fake1
debian(config)# do sh run
Building configuration...
[snip]
!
ip route 10.0.1.0/24 172.16.1.10 unknown
!
end

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zebra_vty.c