Detect partial prefixes / incomplete IPv4 address in acls.

This commit is contained in:
Mark Andrews
2019-07-15 10:25:36 +10:00
parent 67cb24b9ce
commit fb87e669fb
7 changed files with 41 additions and 7 deletions

View File

@@ -0,0 +1,3 @@
acl myacl {
127.1; /* Incomplete dotted IPv4 address / prefix */
};

View File

@@ -0,0 +1,3 @@
acl myacl {
127.1/8; /* No-zero bits */
};

View File

@@ -0,0 +1,3 @@
acl myacl {
127; /* Non-dotted quad IPv4 address (0.0.0.127) / prefix without length. */
};