]> git.puffer.fish Git - mirror/frr.git/commit
zebra: include intf when sending IPv4 nexthop to FPM
authorAvneesh Sachdev <avneesh@opensourcerouting.org>
Tue, 13 Nov 2012 22:49:01 +0000 (22:49 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 30 Nov 2012 20:41:17 +0000 (21:41 +0100)
commit324ed1f87aedf30a45aea951edb2e717c5f9b7fb
tree3e23528caf97c699bc2403a7e87443005f87f446
parentb9c24cd23091e817942d4eaab95712e84dbec8aa
zebra: include intf when sending IPv4 nexthop to FPM

* zebra/zebra_fpm_netlink.c

    Change the zebra FPM code to include an interface index when
    encoding a nexthop even if the protocol only provided a gateway
    address (e.g, NEXTHOP_TYPE_IPV4).

Signed-off-by: Avneesh Sachdev <avneesh@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/zebra_fpm_netlink.c