summaryrefslogtreecommitdiff
path: root/print-domain.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-08-10 11:45:18 -0700
committerGuy Harris <guy@alum.mit.edu>2016-08-10 11:45:18 -0700
commit32a34e8e3b99e00004931ee82b14bd45fc2ce204 (patch)
tree0cb6768a261fe0f682f0bedeec944b3b2085ade7 /print-domain.c
parent0d1a405289e19c154d3b28d5c9e244fd13492810 (diff)
downloadtcpdump-32a34e8e3b99e00004931ee82b14bd45fc2ce204.tar.gz
Work around pcap_create() failures fetching time stamp type lists.
Normally, it succeeds whether the device actually exists or not, but, in some versions (but not the latest version), it may fail on Linux trying to fetch the list of time stamp types. Check for that failure and, if that's the reason for pcap_create() failing, return from open_interface() so the caller can see if the interface name is actually an interface index.
Diffstat (limited to 'print-domain.c')
0 files changed, 0 insertions, 0 deletions