equal
deleted
inserted
replaced
1248 for turn_id, turn_service in pairs(turn_services) do |
1248 for turn_id, turn_service in pairs(turn_services) do |
1249 print("Testing TURN service "..turn_id.."..."); |
1249 print("Testing TURN service "..turn_id.."..."); |
1250 |
1250 |
1251 local result = check_turn_service(turn_service, opts.ping); |
1251 local result = check_turn_service(turn_service, opts.ping); |
1252 if #result.warnings > 0 then |
1252 if #result.warnings > 0 then |
1253 print(("%d warnings:\n\n "):format(#result.warnings)); |
1253 print(("%d warnings:\n"):format(#result.warnings)); |
1254 print(table.concat(result.warnings, "\n ")); |
1254 print(" "..table.concat(result.warnings, "\n ")); |
|
1255 print(""); |
1255 end |
1256 end |
1256 |
1257 |
1257 if opts.verbose then |
1258 if opts.verbose then |
1258 if result.external_ip then |
1259 if result.external_ip then |
1259 print(("External IP: %s"):format(result.external_ip.address)); |
1260 print(("External IP: %s"):format(result.external_ip.address)); |