]> git.puffer.fish Git - mirror/frr.git/commit
lib: add utility to count interfaces connected to a vrf
authorPat Ruddy <pat@voltanet.io>
Fri, 18 Sep 2020 09:05:54 +0000 (10:05 +0100)
committerPat Ruddy <pat@voltanet.io>
Tue, 2 Feb 2021 09:37:04 +0000 (09:37 +0000)
commit8e0373314c7d42f674d47408e4ab71eb6cf48232
tree13d450d57834d36a9b0b7c36e8719a8533f50cb3
parent8adc13a85495a0bdc2168719bb56548561d27c75
lib: add utility to count interfaces connected to a vrf

Run through the vrf's interface list and return a count, skipping
the l3mdev which has a name which matches the vrf name.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
lib/vrf.h