diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-30 07:56:24 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-30 07:56:24 -0400 | 
| commit | e55a43d491c8423feceb6c37b8d42d8b1637a0e5 (patch) | |
| tree | 6b47f3df16729685965ece63c92c14b6c801a488 /pimd/pim_iface.h | |
| parent | 7f432a28e08bef5aaa75a830161f893adb9b3577 (diff) | |
pimd: Remove expensive lookup for if a device is a vrf device
Interfaces know if they are a vrf device or not and this data
is passed up to the protocol.
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 12098fde29..cf025cbd4a 100644 --- a/pimd/pim_iface.h +++ b/pimd/pim_iface.h @@ -209,7 +209,7 @@ int pim_update_source_set(struct interface *ifp, struct in_addr source);  bool pim_if_is_loopback(struct interface *ifp); -int pim_if_is_vrf_device(struct interface *ifp); +bool pim_if_is_vrf_device(struct interface *ifp);  int pim_if_ifchannel_count(struct pim_interface *pim_ifp);  #endif /* PIM_IFACE_H */  | 
