Skip to content

Commit d649d7e

Browse files
committed
add "port" in expected keyword
1 parent 5ce7bd0 commit d649d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ _parse_firewall_rule(const char *ruleset, char *leftover)
574574
}
575575
} else {
576576
debug(LOG_ERR, "Invalid or unexpected keyword %s, "
577-
"expecting \"to\" or \"to-ipset\"", other_kw);
577+
"expecting \"port\", \"to\" or \"to-ipset\"", other_kw);
578578
return -4; /*< Fail */
579579
}
580580
TO_NEXT_WORD(leftover, finished);

0 commit comments

Comments
 (0)