diff -up iptables-1.4.1.1/extensions/tos_values.c.tos_value_mask iptables-1.4.1.1/extensions/tos_values.c --- iptables-1.4.1.1/extensions/tos_values.c.tos_value_mask 2008-07-22 16:48:36.000000000 +0200 +++ iptables-1.4.1.1/extensions/tos_values.c 2008-07-22 17:23:46.000000000 +0200 @@ -56,8 +56,9 @@ static bool tos_parse_symbolic(const cha { const unsigned int max = 255; const struct tos_symbol_info *symbol; + char *tmp; - if (strtonum(str, NULL, NULL, 0, max)) + if (strtonum(str, &tmp, NULL, 0, max)) return tos_parse_numeric(str, tvm, max); /* Do not consider ECN bits */