ソースを参照

Remove firewall conditions

Bob Mottram 8 年 前
コミット
b99641af02
共有1 個のファイルを変更した0 個の追加8 個の削除を含む
  1. 0
    8
      src/freedombone-app-sip

+ 0
- 8
src/freedombone-app-sip ファイルの表示

@@ -181,28 +181,20 @@ function remove_sip {
181 181
 }
182 182
 
183 183
 function configure_firewall_for_turn {
184
-    if [[ $(is_completed $FUNCNAME) == "1" ]]; then
185
-        return
186
-    fi
187 184
     if [[ $ONION_ONLY != "no" ]]; then
188 185
         return
189 186
     fi
190 187
     firewall_add TURN ${TURN_PORT}
191 188
     firewall_add "TURN TLS" ${TURN_TLS_PORT} tcp
192
-    mark_completed $FUNCNAME
193 189
 }
194 190
 
195 191
 
196 192
 function configure_firewall_for_sip4 {
197
-    if [[ $(is_completed $FUNCNAME) == "1" ]]; then
198
-        return
199
-    fi
200 193
     if [[ $ONION_ONLY != "no" ]]; then
201 194
         return
202 195
     fi
203 196
     firewall_add SIP ${SIP_PORT}
204 197
     firewall_add "SIP TLS" ${SIP_TLS_PORT}
205
-    mark_completed $FUNCNAME
206 198
 }
207 199
 
208 200
 function get_sip_server_password {