diff options
Diffstat (limited to 'extensions/libxt_DSCP.c')
-rw-r--r-- | extensions/libxt_DSCP.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_DSCP.c b/extensions/libxt_DSCP.c index 409fa196..92a6de5b 100644 --- a/extensions/libxt_DSCP.c +++ b/extensions/libxt_DSCP.c @@ -48,7 +48,7 @@ parse_dscp(const char *s, struct xt_DSCP_info *dinfo) { unsigned int dscp; - if (string_to_number(s, 0, 255, &dscp) == -1) + if (string_to_number(s, 0, UINT8_MAX, &dscp) == -1) exit_error(PARAMETER_PROBLEM, "Invalid dscp `%s'\n", s); |