Fixed an error when reloading blocklists. Version 0.0.17

Fri, 19 Dec 2014 09:45:21 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 19 Dec 2014 09:45:21 +0100
changeset 6
be2d7c142726
parent 5
2340826a516b
child 7
c846ebedfff3

Fixed an error when reloading blocklists. Version 0.0.17

sbin/mbse-firewall file | annotate | diff | comparison | revisions
--- a/sbin/mbse-firewall	Thu Dec 18 17:01:36 2014 +0100
+++ b/sbin/mbse-firewall	Fri Dec 19 09:45:21 2014 +0100
@@ -22,7 +22,7 @@
 # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
 # ---------------------------------------------------------------------------
 
-MBSEFW_VERSION="0.0.16"
+MBSEFW_VERSION="0.0.17"
 
 # Sanity checks
 if [ "$(id -u)" != "0" ]; then
@@ -156,7 +156,7 @@
   if [ -f $BLOCKLIST ]; then
     echo "Reload $BLOCKLIST" | $LOGGER
     $IPSET create ${HOST}-new-mbsefw-blk4ip hash:ip counters -exist
-    $IPSET create ${HOST}new-mbsefw-blk4net hash:net counters -exist
+    $IPSET create ${HOST}-new-mbsefw-blk4net hash:net counters -exist
     $GREP -Ev '^#|^;|^\s*$' $BLOCKLIST | while read L ; do
       set $L
       if echo $1 | $GREP -q "/" ; then

mercurial