]> git.puffer.fish Git - mirror/frr.git/commit
lib: add a function to get the VRF or loopback interface
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 22 Apr 2022 16:08:08 +0000 (18:08 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 15 Jan 2023 10:22:24 +0000 (12:22 +0200)
commitb2cfd204a8ec751c9c9ac00a27272f4b5c0721e3
treec1c4cef5c4b877bfc00b08b324a587d47fcede37
parentb4710d034dc84ad1dfd3023e736d43418231de8f
lib: add a function to get the VRF or loopback interface

Add a function to find the VRF or the loopback interface: the loopback
interface for the default VRF and the VRF master interface otherwise.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
lib/if.c
lib/if.h