Browse Source

Changed back accept to drop

Joachim M. Giæver 7 years ago
parent
commit
6c27b1a282
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assign-ip-ssid

+ 1 - 1
assign-ip-ssid

@@ -37,7 +37,7 @@ assign_ip () {
     fi
 
     if [ `ebtables -t broute -L | grep -ice "-p ipv4 -i ${IFACE} -j DROP"` -eq 0 ]; then
-        cmd_run "ebtables" "ebtables -t broute -I BROUTING -p ipv4 -i ${IFACE} -j ACCEPT"
+        cmd_run "ebtables" "ebtables -t broute -I BROUTING -p ipv4 -i ${IFACE} -j DROP"
     fi
 
     #if [ `ebtables -t broute -L | grep -ice "-p arp -i ${IFACE} - DROP"` -eq 0 ]; then