diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-08-02 10:38:11 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:05 +0100 |
commit | 4ed0af7013a8885e7c18d7ed532b16c5be5f2df9 (patch) | |
tree | fe7784732eff1c51ae06c5e52ebde044d489c516 /pimd/pim_ifchannel.h | |
parent | pimd: Add rs_timer display (diff) | |
download | frr-4ed0af7013a8885e7c18d7ed532b16c5be5f2df9.tar.xz frr-4ed0af7013a8885e7c18d7ed532b16c5be5f2df9.zip |
lib, pimd: Fix borked up prefix code
Fix the struct prefix to be an actual struct prefix_sg.
This cleans up a bunch of code to make it look nicer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_ifchannel.h')
-rw-r--r-- | pimd/pim_ifchannel.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pimd/pim_ifchannel.h b/pimd/pim_ifchannel.h index eb6b0925a..7036131e5 100644 --- a/pimd/pim_ifchannel.h +++ b/pimd/pim_ifchannel.h @@ -73,7 +73,7 @@ struct pim_assert_metric { */ struct pim_ifchannel { struct pim_ifchannel *parent; - struct prefix sg; + struct prefix_sg sg; struct interface *interface; /* backpointer to interface */ uint32_t flags; @@ -103,24 +103,24 @@ void pim_ifchannel_delete(struct pim_ifchannel *ch); void pim_ifchannel_membership_clear(struct interface *ifp); void pim_ifchannel_delete_on_noinfo(struct interface *ifp); struct pim_ifchannel *pim_ifchannel_find(struct interface *ifp, - struct prefix *sg); + struct prefix_sg *sg); struct pim_ifchannel *pim_ifchannel_add(struct interface *ifp, - struct prefix *sg); + struct prefix_sg *sg); void pim_ifchannel_join_add(struct interface *ifp, struct in_addr neigh_addr, struct in_addr upstream, - struct prefix *sg, + struct prefix_sg *sg, uint8_t source_flags, uint16_t holdtime); void pim_ifchannel_prune(struct interface *ifp, struct in_addr upstream, - struct prefix *sg, + struct prefix_sg *sg, uint8_t source_flags, uint16_t holdtime); void pim_ifchannel_local_membership_add(struct interface *ifp, - struct prefix *sg); + struct prefix_sg *sg); void pim_ifchannel_local_membership_del(struct interface *ifp, - struct prefix *sg); + struct prefix_sg *sg); void pim_ifchannel_ifjoin_switch(const char *caller, struct pim_ifchannel *ch, |