truestep / coturn

Automatically exported from code.google.com/p/coturn
Other
0 stars 0 forks source link

Same relay/listening ip address could be add for more than once, if they were't add continuously. #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run this command to start turn server, "10.0.0.12" is turn server's local ip 
address:
./turnserver -E 10.0.0.12 -E 127.0.0.1 -E 10.0.0.12
2. Watch command output, about "Relay address to use".

What is the expected output? What do you see instead?
Expected output:
... ...
0: Relay address to use: 10.0.0.12
0: Relay address to use: 127.0.0.1
... ...

Real output:
... ...
0: Relay address to use: 10.0.0.12
0: Relay address to use: 127.0.0.1
0: Relay address to use: 10.0.0.12
... ...

What version of the product are you using? On what operating system?
Version Coturn-4.4.5.1 'Ardee West'

Please provide any additional information below.
Patch file in attached.

Original issue reported on code.google.com by huxinb...@gmail.com on 28 Apr 2015 at 3:34

Attachments: