diff options
Diffstat (limited to 'zebra/table_manager.c')
-rw-r--r-- | zebra/table_manager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/table_manager.c b/zebra/table_manager.c index 77ec42e64..512508b79 100644 --- a/zebra/table_manager.c +++ b/zebra/table_manager.c @@ -63,8 +63,7 @@ void table_manager_enable(struct zebra_vrf *zvrf) && strcmp(zvrf_name(zvrf), VRF_DEFAULT_NAME)) { struct zebra_vrf *def = zebra_vrf_lookup_by_id(VRF_DEFAULT); - if (def) - zvrf->tbl_mgr = def->tbl_mgr; + zvrf->tbl_mgr = def->tbl_mgr; return; } zvrf->tbl_mgr = XCALLOC(MTYPE_TM_TABLE, sizeof(struct table_manager)); |