diff options
author | Maria Matejka <mq@ucw.cz> | 2021-11-15 10:53:58 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-01-25 13:33:31 +0100 |
commit | 4334f86251429eb39bfe81ff19496d141fccef84 (patch) | |
tree | 2dce6e1833748b9b165ece7776afbcbb3fc7ddc3 /nest/config.Y | |
parent | 72230d3ca37d34cafa0442c23f83121ae1fc41be (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 b2aa0906..558d7e85 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -291,8 +291,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; } ; |