Skip to content

Commit 1be8367

Browse files
committed
Fix substitute-and-replace error.
1 parent 330bcbc commit 1be8367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pcap-common.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1541,8 +1541,8 @@ linktype_to_dlt(int linktype)
15411541
#endif
15421542
#if LINKTYPE_NETBSD_HDLC != DLT_HDLC
15431543
/* NetBSD HDLC */
1544-
if (linktype == LINKTYPE_HDLC)
1545-
return (DLT_NETBSD_HDLC);
1544+
if (linktype == LINKTYPE_NETBSD_HDLC)
1545+
return (DLT_HDLC);
15461546
#endif
15471547
#if LINKTYPE_C_HDLC != DLT_C_HDLC
15481548
/* BSD/OS Cisco HDLC */

0 commit comments

Comments
 (0)