diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-09-05 08:06:23 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-09-21 13:27:50 -0300 |
| commit | 7990990e54f2145b5d2527cb4af00de9d77ba10c (patch) | |
| tree | 1fb629cb1b8d5ad3049de338d77c86bdde0c8ddd /zebra/rt_netlink.c | |
| parent | b1cebe20cd1b5663cc2a47a99ac94dac046b8610 (diff) | |
zebra: use the afi parameter in rib_add_multipath()
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/rt_netlink.c')
| -rw-r--r-- | zebra/rt_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 039fac4e67..7c43c38f42 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -526,7 +526,7 @@ static int netlink_route_change_read_unicast(struct sockaddr_nl *snl, if (re->nexthop_num == 0) XFREE(MTYPE_RE, re); else - rib_add_multipath(AFI_IP, SAFI_UNICAST, &p, + rib_add_multipath(afi, SAFI_UNICAST, &p, NULL, re); } } else { |
