Pārlūkot izejas kodu

Always allow avahi

Bob Mottram 9 gadus atpakaļ
vecāks
revīzija
072c64a7d2
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0
    3
      src/freedombone

+ 0
- 3
src/freedombone Parādīt failu

6698
   if grep -Fxq "configure_firewall_for_avahi" $COMPLETION_FILE; then
6698
   if grep -Fxq "configure_firewall_for_avahi" $COMPLETION_FILE; then
6699
       return
6699
       return
6700
   fi
6700
   fi
6701
-  if [[ $ENABLE_CJDNS != "yes" && $ENABLE_BATMAN != "yes" && $ENABLE_BABEL != "yes" ]]; then
6702
-      return
6703
-  fi
6704
   iptables -A INPUT -p tcp --dport 548 -j ACCEPT
6701
   iptables -A INPUT -p tcp --dport 548 -j ACCEPT
6705
   iptables -A INPUT -p udp --dport 548 -j ACCEPT
6702
   iptables -A INPUT -p udp --dport 548 -j ACCEPT
6706
   iptables -A INPUT -p tcp --dport 5353 -j ACCEPT
6703
   iptables -A INPUT -p tcp --dport 5353 -j ACCEPT