summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-03-06 16:03:35 +0100
committerJan Maria Matejka <mq@ucw.cz>2018-03-08 12:57:39 +0100
commit0575c7db723523701d5582e2a9058cb5c46951c9 (patch)
treef155f748c46087c447ace5627c7861ea5def411d /conf
parentd0f47327f81a278d6adb3d0a6c235ea715798d01 (diff)
Config: Dropped the ipv4:netmask4 syntax for IPv4 prefixes.
Diffstat (limited to 'conf')
-rw-r--r--conf/confbase.Y4
1 files changed, 0 insertions, 4 deletions
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