@@ -1,31 +1,18 @@
--- packetbl.c.orig 2012-12-30 15:31:05.472118316 +0100
-+++ packetbl.c 2012-12-30 15:36:17.820119193 +0100
-@@ -515,7 +515,7 @@
++++ packetbl.c 2012-12-30 15:41:47.792122079 +0100
+@@ -617,6 +617,7 @@
+ if (config_setting != NULL) {
+ parse_config_bl_list(config_setting, TYPE_WHITELIST);
+ }
++ return 0;
}
- /*
- * SYNOPSIS:
-- * void parse_config(void);
-+ * parse_config(void);
- *
- * ARGUMENTS:
- * (none)
-@@ -530,7 +530,7 @@
- * it should only be called during start-up and not from the main loop.
- *
- */
--void parse_config(void) {
-+parse_config(void) {
- config_t cf, *config;
- config_setting_t *config_setting = NULL;
---- packetbl.h.orig 2012-12-30 15:32:04.856125683 +0100
-+++ packetbl.h 2012-12-30 15:36:10.292119583 +0100
-@@ -158,7 +158,7 @@
- int check_packet_dnsbl(const struct packet_info *ip, struct config_entry *list);
- int parse_cidr(struct config_entry *ce);
- /* int validate_blacklist(char *); */
--void parse_config(void);
-+parse_config(void);
- void parse_arguments(int argc, char **argv);
- void pbl_init_sockstat(void);
- char * get_ip_string(const struct packet_info *ip);
+ parse_config_bl_list(config_setting_t *c, int type) {
+@@ -707,6 +708,7 @@
+ tmp->next = ce;
+
+ }
++ return 0;
+ }
+
+ /*
|