We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1487976 commit 87264e2Copy full SHA for 87264e2
netflowcollector.py
@@ -26,7 +26,7 @@
26
def pass_netflow_data(netflow_port, named_pipe_filename):
27
# endless loop - read netflow packets from UDP port and write them to named pipe:
28
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
29
- server_address = ('localhost', netflow_port,)
+ server_address = ('', netflow_port,) # '' binds to any IPv4 address (not IPv6!)
30
log.debug('starting up on {} port {}'.format(*server_address))
31
sock.bind(server_address)
32
0 commit comments