diff options
Diffstat (limited to 'lib/parse.c')
-rw-r--r-- | lib/parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/parse.c b/lib/parse.c index 2cbd30e..45937f0 100644 --- a/lib/parse.c +++ b/lib/parse.c @@ -1554,6 +1554,8 @@ ipset_parse_iface(struct ipset_session *session, if (STREQ(str, "physdev:")) { offset = 8; err = ipset_data_set(data, IPSET_OPT_PHYSDEV, str); + if (err < 0) + return err; } if (strlen(str + offset) > IFNAMSIZ - 1) return syntax_err("interface name '%s' is longer " |