]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix a comment.
authorGuy Harris <[email protected]>
Fri, 12 Jun 2020 03:27:07 +0000 (20:27 -0700)
committerGuy Harris <[email protected]>
Fri, 12 Jun 2020 03:28:15 +0000 (20:28 -0700)
*Older* versions of libpcap support no more LINKTYPE_/DLT_ values than
we do; *newer* versions, however, might.

[skip ci]

pcap-common.c

index 50be598f7293a2f478c757054f322865458c4ebb..c4227d90ed9eacf7ace78b463e5144050bb4dcc6 100644 (file)
@@ -1350,7 +1350,7 @@ linktype_to_dlt(int linktype)
 
        /*
         * If we don't have an entry for this LINKTYPE, return
-        * the link type value; it may be a DLT from an older
+        * the link type value; it may be a DLT from an newer
         * version of libpcap.
         */
        return linktype;