]> The Tcpdump Group git mirrors - libpcap/commitdiff
Update some comments.
authorGuy Harris <[email protected]>
Tue, 19 May 2020 17:39:55 +0000 (10:39 -0700)
committerGuy Harris <[email protected]>
Tue, 19 May 2020 17:39:55 +0000 (10:39 -0700)
We now require PF_PACKET support on Linux.

[skip ci]

gencode.c

index 4359c102ff7239253b4115d121a69c482c972444..8984b965e2e2467eb5adfe0c0371393b3874ad25 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -8198,7 +8198,7 @@ gen_ifindex(compiler_state_t *cstate, int ifindex)
         default:
 #if defined(linux)
                /*
-                * This is Linux with PF_PACKET support.
+                * This is Linux; we require PF_PACKET support.
                 * If this is a *live* capture, we can look at
                 * special meta-data in the filter expression;
                 * if it's a savefile, we can't.
@@ -8351,7 +8351,7 @@ gen_inbound(compiler_state_t *cstate, int dir)
                 */
 #if defined(linux)
                /*
-                * This is Linux; we assume it has PF_PACKET support.
+                * This is Linux; we require PF_PACKET support.
                 * If this is a *live* capture, we can look at
                 * special meta-data in the filter expression;
                 * if it's a savefile, we can't.