]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
bugfix
authorKevin Chou <k9982874@gmail.com>
Sat, 4 May 2019 09:39:27 +0000 (17:39 +0800)
committerKevin Chou <k9982874@gmail.com>
Sat, 4 May 2019 09:39:27 +0000 (17:39 +0800)
ipset/ipset.c

index 3ba459a6dfcc8ab4ef6bba6a5a72efec62b3945b..5d3d8ed3485d796a575c6e6f0529fc1cc4ed18c4 100755 (executable)
@@ -146,6 +146,7 @@ static int ipset_update(struct module_env *env, struct dns_msg *return_msg, stru
                                                                ret = add_to_ipset(mnl, setname, rr_data + 2, af);
                                                                if (ret < 0) {
                                                                        log_err("ipset: could not add %s into %s", dname, setname);
+                                                                       return ret;
                                                                }
                                                        }
                                                }