]> 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)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 16 Dec 2022 13:52:47 +0000 (14:52 +0100)
commite7192e9d24638fec3c482982df2ec0763c453ce0
tree0516d0eeee8fb255d1c848ecd52f42c581026acc
parentacf31ef73b4a73dad5723105cdde0d589f2a1d4a
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