We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 003c8ad commit 74cd00bCopy full SHA for 74cd00b
1 file changed
test/posix/integration/syslog_plugin/test.py
@@ -27,7 +27,7 @@ def tear_down():
27
UDP_IP = "10.0.0.2"
28
UDP_PORT = 6514
29
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
30
-socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
+sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
31
sock.bind((UDP_IP, UDP_PORT))
32
33
num_received = 0
0 commit comments