summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sudo/toke.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sudo/toke.l b/usr.bin/sudo/toke.l
index 719b9051463..5429f5a8200 100644
--- a/usr.bin/sudo/toke.l
+++ b/usr.bin/sudo/toke.l
@@ -362,7 +362,7 @@ NOSETENV[[:blank:]]*: {
return(NTWKADDR);
}
-{IPV4ADDR}\/([12]?[0-9]|3[0-2]|) {
+{IPV4ADDR}\/([12]?[0-9]|3[0-2]) {
if (!fill(yytext, yyleng))
yyterminate();
LEXTRACE("NTWKADDR ");