summaryrefslogtreecommitdiff
path: root/staticd/static_vrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_vrf.c')
-rw-r--r--staticd/static_vrf.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/staticd/static_vrf.c b/staticd/static_vrf.c
index ba1367b877..96e5d37d68 100644
--- a/staticd/static_vrf.c
+++ b/staticd/static_vrf.c
@@ -170,27 +170,6 @@ static int static_vrf_config_write(struct vty *vty)
return 0;
}
-int static_vrf_has_config(struct static_vrf *svrf)
-{
- struct route_table *table;
- safi_t safi;
- afi_t afi;
-
- /*
- * NOTE: This is a don't care for the default VRF, but we go through
- * the motions to keep things consistent.
- */
- FOREACH_AFI_SAFI (afi, safi) {
- table = svrf->stable[afi][safi];
- if (!table)
- continue;
- if (route_table_count(table))
- return 1;
- }
-
- return 0;
-}
-
void static_vrf_init(void)
{
vrf_init(static_vrf_new, static_vrf_enable,