Change #253596
| Category | libpcap |
| Changed by | Guy Harris <gharris@sonic.net> |
| Changed at | Tue 30 Dec 2025 21:38:13 |
| Repository | https://git.tcpdump.org/libpcap |
| Project | libpcap |
| Branch | master |
| Revision | 5b92ca4e92cedf933470fb8e1da0bb4df03b4311 |
Comments
linux: handle older kernels that require CAP_NET_ADMIN for ETHTOOL_GLINK. Pre-3.5 kernels (unless the 3.5 fix was backported to a 3.4.x release) required CAP_NET_ADMIN privilges for some "get some information ethtool ioctls; if ETHTOOL_GLINK fails with EPERM, don't treat that as an error, just leave the connection status information as "unknown". Fix #1604.
Changed files
- pcap-linux.c