diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-29 19:06:49 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-29 19:06:49 +0200 |
commit | 51c4ed0a0e556e24ebc86f7173b8b64ee9ff8ba3 (patch) | |
tree | 76f7c00aecac2842cccec18a4183c1a161249ecc /zebra | |
parent | lib: Set proper write file when using backup config (diff) | |
download | frr-51c4ed0a0e556e24ebc86f7173b8b64ee9ff8ba3.tar.xz frr-51c4ed0a0e556e24ebc86f7173b8b64ee9ff8ba3.zip |
staticd, zebra: Fix up code warnings
CI found a couple of warnings that needed to be cleaned up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/rt_netlink.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 918152aa6..246b24b68 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -644,12 +644,14 @@ static int netlink_route_change_read_unicast(struct nlmsghdr *h, ns_id_t ns_id, if (gate) memcpy(&nh.gate, gate, sz); rib_delete(afi, SAFI_UNICAST, vrf_id, proto, 0, flags, - &p, &src_p, &nh, table, metric, distance, true); + &p, &src_p, &nh, table, metric, distance, + true); } else { /* XXX: need to compare the entire list of nexthops * here for NLM_F_APPEND stupidity */ rib_delete(afi, SAFI_UNICAST, vrf_id, proto, 0, flags, - &p, &src_p, NULL, table, metric, distance, true); + &p, &src_p, NULL, table, metric, distance, + true); } } |