diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2018-11-08 19:47:27 +0000 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2018-11-12 15:08:11 +0000 |
| commit | a9be49bcbc95f2a4098cec7692a9d8dfef52b0f5 (patch) | |
| tree | be9ab48b0ce2b6fffeffb515b41a37e8e0ac15d1 /staticd/static_routes.h | |
| parent | 6987aacd7af2f3802d7b1bca3ef8d6d9868b5121 (diff) | |
staticd: install static routes in a vrf when next-hop interface comes up
Problem reported with cross-vrf static routes that the routes weren't
installed when the target interface is bounced. Determined that we did
not initiate re-install of the statics in that particular case, so added
it. Test case previously failing now passes.
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'staticd/static_routes.h')
| -rw-r--r-- | staticd/static_routes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/staticd/static_routes.h b/staticd/static_routes.h index 916ddcd7eb..6036bfe396 100644 --- a/staticd/static_routes.h +++ b/staticd/static_routes.h @@ -113,5 +113,7 @@ extern int static_delete_route(afi_t afi, safi_t safi, uint8_t type, extern void static_cleanup_vrf_ids(struct static_vrf *disable_svrf); +extern void static_install_intf_nh(struct interface *ifp); + extern void static_ifindex_update(struct interface *ifp, bool up); #endif |
