]> git.proxmox.com Git - mirror_frr.git/commit - lib/if.c
bgpd, lib, zebra: Add ability to retrieve ifp without specifying a vrf
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 23 Mar 2016 19:38:30 +0000 (12:38 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 23 Mar 2016 19:38:30 +0000 (12:38 -0700)
commitf8962871283672835ee121737b67cb689fa3823b
treecf5f13cdb995a0991b33bf01f9c7d6e42f652034
parentb359768d2279f9d44858e9eadb410a30d1edbe4d
bgpd, lib, zebra: Add ability to retrieve ifp without specifying a vrf

There are cases where we get an interface name but do not have a
corresponding vrf.  We care about getting an interface pointer
so just provide a function that searches all vrf's for the ifp.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Radhicak Mahankali <radhika@cumulusnetworks.com>
Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
bgpd/bgp_routemap.c
lib/if.c
lib/if.h
zebra/zebra_ptm.c