diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/parse.c b/lib/parse.c index 951d2f3..679aefc 100644 --- a/lib/parse.c +++ b/lib/parse.c @@ -614,7 +614,9 @@ ipset_parse_proto_port(struct ipset_session *session, default: if (!STREQ(a, "0")) { syntax_err("Protocol %s can be used " - "with pseudo port value 0 only."); + "with pseudo port value 0 only.", + tmp); + err = -1; goto error; } ipset_data_flags_set(data, IPSET_FLAG(opt)); |