mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-02 23:35:36 +00:00
Fix regexp for matching a CIDR-style IPv4 netmask. From Marc Espie.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -438,7 +438,7 @@ NOLOG_INPUT[[:blank:]]*: {
|
||||
return NTWKADDR;
|
||||
}
|
||||
|
||||
{IPV4ADDR}\/([12][0-9]*|3[0-2]*) {
|
||||
{IPV4ADDR}\/([12]?[0-9]|3[0-2]) {
|
||||
if (!fill(yytext, yyleng))
|
||||
yyterminate();
|
||||
LEXTRACE("NTWKADDR ");
|
||||
|
Reference in New Issue
Block a user