diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2018-08-21 18:03:00 +0000 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2018-08-23 18:49:48 +0000 |
| commit | fec4ca191ef4e7d9576feba756f728b21819ec45 (patch) | |
| tree | d2be957988ae75889b55dd385d45916f7b237c7c /pimd/pim_iface.c | |
| parent | 3391232343ee5a92b17755bd29d3a246a660f3be (diff) | |
zebra: if multiple connecteds, select loopback or vrf if present
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.c')
| -rw-r--r-- | pimd/pim_iface.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c index e79e91d7df..72ccf3ab1e 100644 --- a/pimd/pim_iface.c +++ b/pimd/pim_iface.c @@ -1495,14 +1495,6 @@ int pim_if_connected_to_source(struct interface *ifp, struct in_addr src) return 0; } -bool pim_if_is_loopback(struct interface *ifp) -{ - if (if_is_loopback(ifp) || if_is_vrf(ifp)) - return true; - - return false; -} - bool pim_if_is_vrf_device(struct interface *ifp) { if (if_is_vrf(ifp)) |
