diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-08-20 18:55:45 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-08-28 13:51:06 +0200 |
commit | 7cbdabffb6c11570e62e71a8b2818511c4756c60 (patch) | |
tree | ac8624679700e8d3d71f1c98dcd572b8cf5e27be /pbrd/pbr_zebra.c | |
parent | lib: Allow nexthop simple display to take an alternate ifp name (diff) | |
download | frr-7cbdabffb6c11570e62e71a8b2818511c4756c60.tar.xz frr-7cbdabffb6c11570e62e71a8b2818511c4756c60.zip |
pbrd: Allow interfaces to be deleted then added back in
PBR needs the ability to allow ephermeal interfaces( bonds,
vrfs, dummy, bridges, etc ) to be destroyed and then
recreated and at the same time keep track of them and
rebuild state as appropriate when we get a change.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pbrd/pbr_zebra.c')
-rw-r--r-- | pbrd/pbr_zebra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c index d0099a46e..a7420974a 100644 --- a/pbrd/pbr_zebra.c +++ b/pbrd/pbr_zebra.c @@ -67,6 +67,7 @@ int pbr_ifp_create(struct interface *ifp) if (!ifp->info) pbr_if_new(ifp); + pbr_nht_interface_update(ifp); /* Update nexthops tracked from a `set nexthop` command */ pbr_nht_nexthop_interface_update(ifp); |