Remove firewall conditions

This commit is contained in:
Bob Mottram 2016-11-01 15:51:48 +00:00
parent b95dc08873
commit b99641af02
1 changed files with 0 additions and 8 deletions

View File

@ -181,28 +181,20 @@ function remove_sip {
} }
function configure_firewall_for_turn { function configure_firewall_for_turn {
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
return
fi
if [[ $ONION_ONLY != "no" ]]; then if [[ $ONION_ONLY != "no" ]]; then
return return
fi fi
firewall_add TURN ${TURN_PORT} firewall_add TURN ${TURN_PORT}
firewall_add "TURN TLS" ${TURN_TLS_PORT} tcp firewall_add "TURN TLS" ${TURN_TLS_PORT} tcp
mark_completed $FUNCNAME
} }
function configure_firewall_for_sip4 { function configure_firewall_for_sip4 {
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
return
fi
if [[ $ONION_ONLY != "no" ]]; then if [[ $ONION_ONLY != "no" ]]; then
return return
fi fi
firewall_add SIP ${SIP_PORT} firewall_add SIP ${SIP_PORT}
firewall_add "SIP TLS" ${SIP_TLS_PORT} firewall_add "SIP TLS" ${SIP_TLS_PORT}
mark_completed $FUNCNAME
} }
function get_sip_server_password { function get_sip_server_password {