summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_dccp.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_dccp.c')
-rw-r--r--extensions/libxt_dccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_dccp.c b/extensions/libxt_dccp.c
index b1ae62ee..0eb95cef 100644
--- a/extensions/libxt_dccp.c
+++ b/extensions/libxt_dccp.c
@@ -121,7 +121,7 @@ static u_int8_t parse_dccp_option(char *optstring)
{
unsigned int ret;
- if (string_to_number(optstring, 1, 255, &ret) == -1)
+ if (string_to_number(optstring, 1, UINT8_MAX, &ret) == -1)
exit_error(PARAMETER_PROBLEM, "Bad DCCP option `%s'",
optstring);