diff options
Diffstat (limited to 'conf')
-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 |