]> git.proxmox.com Git - mirror_frr.git/commit
*: cleanup interface loopback/vrf check
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 30 Sep 2021 09:31:05 +0000 (12:31 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 30 Sep 2021 09:31:05 +0000 (12:31 +0300)
commitef322b022fa1bd961132cc8f1e818922f5d30962
treea9ed349dff9343f0d3839815fe5c0c685b9038a1
parenta89bae26f78c00080ecc48c4dbbd86c2ceafb547
*: cleanup interface loopback/vrf check

There's a helper function to check whether the interface is loopback or
VRF - if_is_loopback_or_vrf. Let's use it whenever we need to check that.

There's no functional change in this commit.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ospfd/ospf_interface.c
zebra/connected.c
zebra/rtadv.c