From b99641af0229e9ef723de0fcecd3b55e2e59cf90 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 1 Nov 2016 15:51:48 +0000 Subject: [PATCH] Remove firewall conditions --- src/freedombone-app-sip | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/freedombone-app-sip b/src/freedombone-app-sip index 4fb300b5..a85b2886 100755 --- a/src/freedombone-app-sip +++ b/src/freedombone-app-sip @@ -181,28 +181,20 @@ function remove_sip { } function configure_firewall_for_turn { - if [[ $(is_completed $FUNCNAME) == "1" ]]; then - return - fi if [[ $ONION_ONLY != "no" ]]; then return fi firewall_add TURN ${TURN_PORT} firewall_add "TURN TLS" ${TURN_TLS_PORT} tcp - mark_completed $FUNCNAME } function configure_firewall_for_sip4 { - if [[ $(is_completed $FUNCNAME) == "1" ]]; then - return - fi if [[ $ONION_ONLY != "no" ]]; then return fi firewall_add SIP ${SIP_PORT} firewall_add "SIP TLS" ${SIP_TLS_PORT} - mark_completed $FUNCNAME } function get_sip_server_password {