diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-08-20 12:55:45 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-08-28 07:51:06 -0400 | 
| commit | 7cbdabffb6c11570e62e71a8b2818511c4756c60 (patch) | |
| tree | ac8624679700e8d3d71f1c98dcd572b8cf5e27be /pbrd/pbr_zebra.c | |
| parent | a251884bff9ef5fac7ec1ff399fb0f5472565b55 (diff) | |
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 d0099a46e3..a7420974a9 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);  | 
