Use non-zero timeout in pcap_open_live
authorAlan T. DeKok <aland@freeradius.org>
Wed, 25 Jan 2012 13:44:14 +0000 (14:44 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 25 Jan 2012 13:45:50 +0000 (14:45 +0100)
commitcfb02eb3f503d7e712da10a3ca27a2d7dba26483
tree431f7b4d361abe6ca19534bf40a0a48f93e2a0e0
parentd2a50f255f4f231eccba3761b175d7b464a02e90
Use non-zero timeout in pcap_open_live

http://www.tcpdump.org/pcap.html says:

  to_ms is the read time out in milliseconds (a value of 0 means
  no time out; on at least some platforms, this means that you may
  wait until a sufficient number of packets arrive before seeing
  any packets, so you should use a non-zero timeout)

Nice..
src/main/radsniff.c