diff --git a/Makefile b/Makefile index 6531f82..c4ba752 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=UA2F PKG_VERSION:=2.1 -PKG_RELEASE:=9 +PKG_RELEASE:=10 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/src/ua2f.c b/src/ua2f.c index 7395a5e..fcc72a9 100644 --- a/src/ua2f.c +++ b/src/ua2f.c @@ -427,9 +427,14 @@ int main(int argc, char *argv[]) { start_t = time(NULL); - ipset_load_types(); + // ipset_load_types(); Pipset = ipset_init(); + if(!Pipset) { + syslog(LOG_ERR, "Pipset not inited."); + exit(EXIT_FAILURE); + } + nl = mnl_socket_open(NETLINK_NETFILTER); if (nl == NULL) {