PTP: Fix management packet fields.
User interface:
Warn that options -A, -x[x] and -X[X] are mutually exclusive.
+ For PCAP_ERROR_CAPTURE_NOTSUP, show the error message provided
+ by libpcap for that error if it's non-empty.
Source code:
Fix '-tt' option printing when time > 2106-02-07T06:28:15Z.
Add sub-second packet timestamp checks for invalid micro/nano.
} else if (status == PCAP_ERROR_PERM_DENIED && *cp != '\0')
error("%s: %s\n(%s)", device,
pcap_statustostr(status), cp);
+#ifdef PCAP_ERROR_CAPTURE_NOTSUP
+ else if (status == PCAP_ERROR_CAPTURE_NOTSUP && *cp != '\0')
+ error("%s: %s\n(%s)", device,
+ pcap_statustostr(status), cp);
+#endif
#ifdef __FreeBSD__
else if (status == PCAP_ERROR_RFMON_NOTSUP &&
strncmp(device, "wlan", 4) == 0) {