Commented out old method of suppressing ICMP messages

This commit is contained in:
Piotr Krysik 2016-06-09 14:43:09 +02:00
parent 9d9f74edd4
commit bd8a716369
1 changed files with 3 additions and 3 deletions

View File

@ -364,8 +364,8 @@ if __name__ == '__main__':
break
# open udp port 4729 to avoid icmp messages
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.bind(("localhost", 4729))
#sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
#sock.bind(("localhost", 4729))
# instanciate decoder
tb = grgsm_decoder(timeslot=options.timeslot, subslot=options.subslot, chan_mode=options.chan_mode,
@ -381,4 +381,4 @@ if __name__ == '__main__':
tb.wait()
# we are done, close socket
sock.close()
#sock.close()