diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-27 19:33:08 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-01 14:08:05 +0100 |
commit | 936ebf0a2dd70f59bf846bad9f1a0fe04c87e37e (patch) | |
tree | 2404d340c89ffb565afc6355130f149bbd9d055d /zebra/rt_netlink.h | |
parent | Merge pull request #226 from donaldsharp/evpn_fix (diff) | |
download | frr-936ebf0a2dd70f59bf846bad9f1a0fe04c87e37e.tar.xz frr-936ebf0a2dd70f59bf846bad9f1a0fe04c87e37e.zip |
zebra: Add knowledge of whether or not we are acting under startup conditions
The reading if unicast routes from the kernel acts subtly differently
between reading in the routes from the kernel on startup and
reading a new route or getting a response for a route.
Add startup flag(currently ignored) so that we can start
consolidating the functionality.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | zebra/rt_netlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_netlink.h b/zebra/rt_netlink.h index 7183525fb..93ee622e3 100644 --- a/zebra/rt_netlink.h +++ b/zebra/rt_netlink.h @@ -34,7 +34,7 @@ extern int netlink_mpls_multipath (int cmd, zebra_lsp_t *lsp); extern int netlink_route_change (struct sockaddr_nl *snl, struct nlmsghdr *h, - ns_id_t ns_id); + ns_id_t ns_id, int startup); extern int netlink_route_read (struct zebra_ns *zns); #endif /* HAVE_NETLINK */ |