diff options
author | Ondrej Filip <feela@network.cz> | 2018-03-22 13:25:58 +0100 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2018-03-22 13:25:58 +0100 |
commit | 966602602a0f24942bee3ab0492bbb9197e71aa1 (patch) | |
tree | d0c284bf4a9d6038e938583606b23b02d437b7d1 /conf/confbase.Y | |
parent | 44062812600bd29f8edf30ebc871ff218069c5a2 (diff) | |
parent | 4841804fffd8bf669b2445ec3328b6a49eed31f9 (diff) |
Merge branch 'int-new' of ssh://gitlab.labs.nic.cz/labs/bird into int-new
Diffstat (limited to 'conf/confbase.Y')
-rw-r--r-- | conf/confbase.Y | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y index c2d647eb..72f56f1e 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -49,6 +49,8 @@ CF_DECLS struct rtable_config *r; struct channel_config *cc; struct f_inst *x; + struct f_dynamic_attr fda; + struct f_static_attr fsa; struct filter *f; struct f_tree *e; struct f_trie *trie; @@ -177,10 +179,6 @@ pxlen4: if ($2 > IP4_MAX_PREFIX_LENGTH) cf_error("Invalid prefix length %u", $2); $$ = $2; } - | ':' IP4 { - $$ = ip4_masklen($2); - if ($$ == 255) cf_error("Invalid netmask %I4", $2); - } ; net_ip4_: IP4 pxlen4 |