diff options
author | Maria Matejka <mq@ucw.cz> | 2021-11-15 10:53:58 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-11-22 19:05:44 +0100 |
commit | adf37d8eff8f281871295c402a51ae1dd654851c (patch) | |
tree | 13eae50e7c81c071e4a1cfe3f78dc2e13134e511 /nest/config.Y | |
parent | dc160e11e1a9e4344bbee6fd0bc8aee229d7c540 (diff) |
VRF setting reduced to one argument, using default dummy iface for default vrf
Diffstat (limited to 'nest/config.Y')
-rw-r--r-- | nest/config.Y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/config.Y b/nest/config.Y index 6e7689ed..0914048b 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -266,8 +266,8 @@ proto_item: | MRTDUMP mrtdump_mask { this_proto->mrtdump = $2; } | ROUTER ID idval { this_proto->router_id = $3; } | DESCRIPTION text { this_proto->dsc = $2; } - | VRF text { this_proto->vrf = if_get_by_name($2); this_proto->vrf_set = 1; } - | VRF DEFAULT { this_proto->vrf = NULL; this_proto->vrf_set = 1; } + | VRF text { this_proto->vrf = if_get_by_name($2); } + | VRF DEFAULT { this_proto->vrf = &default_vrf; } ; |