From 0575c7db723523701d5582e2a9058cb5c46951c9 Mon Sep 17 00:00:00 2001 From: Jan Maria Matejka Date: Tue, 6 Mar 2018 16:03:35 +0100 Subject: Config: Dropped the ipv4:netmask4 syntax for IPv4 prefixes. --- conf/confbase.Y | 4 ---- 1 file changed, 4 deletions(-) (limited to 'conf') diff --git a/conf/confbase.Y b/conf/confbase.Y index c2d647eb..55615528 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -177,10 +177,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 -- cgit v1.2.3