Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: fix next vrf interface lookup avoid loopback interface
When the default vrf is submitted, the returned interface may be the loopback interface, which may not be valid. Actually, on vrfs, the vrf interface is bypassed. When being on default vrf, the 'lo' interface should be bypassed too. Fix this by avoiding returning the lo interface too. Fixes: 0760a74 ("lib: add utility to get the next index in a vrf") Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information