diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-27 01:14:06 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-30 18:52:06 +0100 |
commit | e34a317acf2addc6d864d238ed41f5977403af43 (patch) | |
tree | 57f2fa75d7f3a4e34b8dde6011691a95ae846e48 /pimd/pim_oil.h | |
parent | pimd: Use correct flag to add an oif (diff) | |
download | frr-e34a317acf2addc6d864d238ed41f5977403af43.tar.xz frr-e34a317acf2addc6d864d238ed41f5977403af43.zip |
pimd: Modify pimreg creation
We were creating the pimreg device with a
created ifindex of 255. This was causing
issues when a interface was assigned a ifindex
of 255 by the kernel. Subsuquently pim
would stay in a hosed up state.
Modify the ifindex used for the pimreg device
to be 0.
Ticket: CM-14625
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_oil.h')
-rw-r--r-- | pimd/pim_oil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_oil.h b/pimd/pim_oil.h index 6b96750ad..e90cd5fc1 100644 --- a/pimd/pim_oil.h +++ b/pimd/pim_oil.h @@ -48,8 +48,8 @@ * Don't come running to me if this assumption is bad, * fix it. */ -#define PIM_OIF_PIM_REGISTER_VIF (MAXVIFS - 1) -#define PIM_MAX_USABLE_VIFS (MAXVIFS - 2) +#define PIM_OIF_PIM_REGISTER_VIF 0 +#define PIM_MAX_USABLE_VIFS (MAXVIFS - 1) struct channel_counts |