diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-10-16 15:37:27 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-10-16 15:37:27 -0700 |
commit | 99553b895b4c984451a52bd4e0643c32ea252f43 (patch) | |
tree | 16f5b11e4f117890d7a4d56052d2cedc2585c669 /pcap-linux.c | |
parent | 590b8eb7588ef0b590451adcb99cd77d3c399145 (diff) |
Update a comment.
[skip ci]
Diffstat (limited to 'pcap-linux.c')
-rw-r--r-- | pcap-linux.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pcap-linux.c b/pcap-linux.c index f2e9f979..6d8c3c6a 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -1089,15 +1089,13 @@ linux_if_drops(const char * if_name) /* - * With older kernels promiscuous mode is kind of interesting because we - * have to reset the interface before exiting. The problem can't really - * be solved without some daemon taking care of managing usage counts. - * If we put the interface into promiscuous mode, we set a flag indicating - * that we must take it out of that mode when the interface is closed, - * and, when closing the interface, if that flag is set we take it out - * of promiscuous mode. - * - * Even with newer kernels, we have the same issue with rfmon mode. + * Monitor mode is kind of interesting because we have to reset the + * interface before exiting. The problem can't really be solved without + * some daemon taking care of managing usage counts. If we put the + * interface into monitor mode, we set a flag indicating that we must + * take it out of that mode when the interface is closed, and, when + * closing the interface, if that flag is set we take it out of monitor + * mode. */ static void pcap_cleanup_linux( pcap_t *handle ) |