]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix a comment in gen_vlan(). [skip ci]
authorDenis Ovsienko <[email protected]>
Wed, 15 Jan 2025 13:07:22 +0000 (13:07 +0000)
committerDenis Ovsienko <[email protected]>
Wed, 15 Jan 2025 13:07:22 +0000 (13:07 +0000)
gencode.c

index 870abff8d77ccf0594789542b9ae2a62230a5d5c..2bb7ee9941420dac21ffc095cc8b41130b96d415 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -9369,7 +9369,7 @@ gen_vlan(compiler_state_t *cstate, bpf_u_int32 vlan_num, int has_vlan_tag)
         * Check for a VLAN packet, and then change the offsets to point
         * to the type and data fields within the VLAN packet.  Just
         * increment the offsets, so that we can support a hierarchy, e.g.
-        * "vlan 300 && vlan 200" to capture VLAN 200 encapsulated within
+        * "vlan 100 && vlan 200" to capture VLAN 200 encapsulated within
         * VLAN 100.
         *
         * XXX - this is a bit of a kludge.  If we were to split the