diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-04-13 08:20:33 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-04-14 20:56:12 -0400 |
| commit | e74f14fc793475ed3dd3ad4b87f8648313b42b1b (patch) | |
| tree | a48ad784d0369fecfd2494be639c2ca56b6e3552 /zebra/interface.c | |
| parent | fd8155c0467ca83e9c8916ed6d8adcfb3d4b968a (diff) | |
lib, zebra: Rearrange vrf_delete_update
vrf_delete_update really belongs in vrf.c broken up
into it's appropriate places.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.c')
| -rw-r--r-- | zebra/interface.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index b47d03929f..cd5f1d9f0d 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -739,28 +739,6 @@ vrf_add_update (struct vrf *vrfp) } } -/* Handle an interface delete event */ -void -vrf_delete_update (struct vrf *vrfp) -{ - /* Mark VRF as inactive */ - UNSET_FLAG (vrfp->status, VRF_ACTIVE); - - if (IS_ZEBRA_DEBUG_KERNEL) - zlog_debug ("VRF %s id %u is now inactive.", - vrfp->name, vrfp->vrf_id); - - zebra_vrf_delete_update (vrf_info_lookup (vrfp->vrf_id)); - - /* Pending: Update ifindex after distributing the delete message. This is in - case any client needs to have the old value of ifindex available - while processing the deletion. Each client daemon is responsible - for setting vrf-id to IFINDEX_INTERNAL after processing the - interface deletion message. */ - vrfp->vrf_id = VRF_UNKNOWN; -} - - static void ipv6_ll_address_to_mac (struct in6_addr *address, u_char *mac) { |
