diff options
author | Guy Harris <gharris@sonic.net> | 2023-08-01 18:46:17 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2023-08-01 18:46:17 -0700 |
commit | 1be8367fa1facaf6680707429df08a3aa564412f (patch) | |
tree | bf454fe62a028885eeec1ab0b83d7b62d23fd03c | |
parent | 330bcbc28d6692d50be4fffa7159d707536dafe5 (diff) |
Fix substitute-and-replace error.
-rw-r--r-- | pcap-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-common.c b/pcap-common.c index 917590ae..ac575b2d 100644 --- a/pcap-common.c +++ b/pcap-common.c @@ -1541,8 +1541,8 @@ linktype_to_dlt(int linktype) #endif #if LINKTYPE_NETBSD_HDLC != DLT_HDLC /* NetBSD HDLC */ - if (linktype == LINKTYPE_HDLC) - return (DLT_NETBSD_HDLC); + if (linktype == LINKTYPE_NETBSD_HDLC) + return (DLT_HDLC); #endif #if LINKTYPE_C_HDLC != DLT_C_HDLC /* BSD/OS Cisco HDLC */ |