]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Static route does not reach kernel.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Wed, 24 Jun 2009 17:15:36 +0000 (19:15 +0200)
committerPaul Jakma <paul@quagga.net>
Wed, 24 Jun 2009 21:43:58 +0000 (22:43 +0100)
commitc3a5606302777cdd33d4025fc30bed723fc84d79
treeafa5d20dd20d6a05f99107655ce68d8788f847cc
parent3f4ab7f9e9ffaee7c448744f45d6e5e2176cce89
zebra: Static route does not reach kernel.

A static route like below: ip route 172.16.1.0/30 192.168.101.162 11
does not move properly to a new interface when the
interface used goes down. Zebra reports that it have
moved but kernel isn't informed so the route is lost.

* zebra_rib.c: (nexthop_active_update) if ifindex has changed, then the
  route should be considered to have changed.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
zebra/zebra_rib.c