diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-07-08 19:46:01 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-07-18 07:54:04 -0400 | 
| commit | afb2f47031e71f7dc3c8c98bec053426694dfc4f (patch) | |
| tree | f7a40219f903ebde6c83d62b14f2b840cfa0d5c7 /pimd/pim_static.c | |
| parent | a85de978b62c17db23fc502ddcd6bc0718e754a7 (diff) | |
pimd: Add pim_channel_oil_change_iif
Add a function that allows you to modify the channel oil's incoming
interface and to appropriately install/remove it from the kernel.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_static.c')
| -rw-r--r-- | pimd/pim_static.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/pimd/pim_static.c b/pimd/pim_static.c index 62c3216e86..e3138360c8 100644 --- a/pimd/pim_static.c +++ b/pimd/pim_static.c @@ -138,7 +138,9 @@ int pim_static_add(struct pim_instance *pim, struct interface *iif,  			} else {  				/* input interface changed */  				s_route->iif = iif_index; -				s_route->c_oil.oil.mfcc_parent = iif_index; +				pim_channel_oil_change_iif(pim, &s_route->c_oil, +							   iif_index, +							   __PRETTY_FUNCTION__);  #ifdef PIM_ENFORCE_LOOPFREE_MFC  				/* check to make sure the new input was not an  | 
