summaryrefslogtreecommitdiffstats
path: root/lib/zclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 000dcaac8..ab2dd0989 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -2135,9 +2135,6 @@ static int zclient_vrf_add(ZAPI_CALLBACK_ARGS)
vrf->data.l.table_id = data.l.table_id;
memcpy(vrf->data.l.netns_name, data.l.netns_name, NS_NAMSIZ);
- /* overwrite default vrf */
- if (vrf_id == VRF_DEFAULT)
- vrf_set_default_name(vrfname_tmp, false);
vrf_enable(vrf);
return 0;