]> git.proxmox.com Git - mirror_frr.git/commit
lib: handling vrf backend unknown case
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 11 Feb 2019 12:48:12 +0000 (13:48 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 11 Feb 2019 12:48:12 +0000 (13:48 +0100)
commitb0b97a7f6103202884311ae52c7bac202c83d24e
tree1b8887a86c56fb232fb52468c93ec9939ad72332
parent72261ecd22495d23ce80a699bb799694981fffe8
lib: handling vrf backend unknown case

on interface search algorithm, at initialisation, when reading config
file, the vrf backend may not be yet known ( because zebra did not sync
yet with daemon). For that, avoid searching interface name in a separate
vrf. This change of behaviour is induced because the assumption is done
that at config startup, the user is not wrong with the interface
configuration to use. Every usage of vrf_get_backend() should then be
wisely adapted in order to handle that init state.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/if.c