aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/util/dummy_udp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/util/dummy_udp.py')
-rwxr-xr-xtest/functional/util/dummy_udp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/util/dummy_udp.py b/test/functional/util/dummy_udp.py
index 4d904e3b1..02ee6dce8 100755
--- a/test/functional/util/dummy_udp.py
+++ b/test/functional/util/dummy_udp.py
@@ -15,6 +15,7 @@ if __name__ == "__main__":
port = 5005
sock = socket.socket(socket.AF_INET, # Internet
socket.SOCK_DGRAM) # UDP
+ sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
sock.bind((UDP_IP, port))
dummy_killer.write_pid(PID)