diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-10-14 17:07:58 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-10-14 17:07:58 -0700 |
commit | 19236989728539214cf0cf1897495bac9bb3abb7 (patch) | |
tree | 9bc0e75c6fc663ed981ce4ae8f1c711085f9344d /pcap-linux.c | |
parent | 26de3578c11f386be25a6858abb7ed1528f03807 (diff) |
Update some comments to reflect the removal of SOCK_PACKET support.
[skip ci]
Diffstat (limited to 'pcap-linux.c')
-rw-r--r-- | pcap-linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-linux.c b/pcap-linux.c index be27cab8..ab7919bc 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -189,7 +189,7 @@ typedef int socklen_t; #define BIGGER_THAN_ALL_MTUS (64*1024) /* - * Private data for capturing on Linux SOCK_PACKET or PF_PACKET sockets. + * Private data for capturing on Linux PF_PACKET sockets. */ struct pcap_linux { u_int packets_read; /* count of packets read with recvfrom() */ @@ -2506,7 +2506,7 @@ scan_proc_net_dev(pcap_if_list_t *devlistp, char *errbuf) static const char any_descr[] = "Pseudo-device that captures on all interfaces"; /* - * A SOCK_PACKET or PF_PACKET socket can be bound to any network interface. + * A PF_PACKET socket can be bound to any network interface. */ static int can_be_bound(const char *name _U_) |