diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-17 20:09:06 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-17 20:09:06 +0200 |
commit | 85a13586ed7fa718d30f73afb443a48072dcb0d9 (patch) | |
tree | 248b02bc681c733ee772e9a5e1b2d6d038382016 /pimd/pim_iface.h | |
parent | pimd: Actually create vif's in non-integrated config (diff) | |
download | frr-85a13586ed7fa718d30f73afb443a48072dcb0d9.tar.xz frr-85a13586ed7fa718d30f73afb443a48072dcb0d9.zip |
pimd: use bool instead of int to pass true/false
In pim_if_new use bool instead of an int to pass
true/false values for what we should create the
pim interface type for.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r-- | pimd/pim_iface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h index 189153449..a7dc097f8 100644 --- a/pimd/pim_iface.h +++ b/pimd/pim_iface.h @@ -154,7 +154,7 @@ struct pim_interface { void pim_if_init(struct pim_instance *pim); void pim_if_terminate(struct pim_instance *pim); -struct pim_interface *pim_if_new(struct interface *ifp, int igmp, int pim, +struct pim_interface *pim_if_new(struct interface *ifp, bool igmp, bool pim, bool ispimreg); void pim_if_delete(struct interface *ifp); void pim_if_addr_add(struct connected *ifc); |