Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/tcpdump/dist Minimal change to suppress unalign...
details: https://anonhg.NetBSD.org/src/rev/3ab3e9ff1653
branches: trunk
changeset: 379418:3ab3e9ff1653
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun May 30 21:01:43 2021 +0000
description:
Minimal change to suppress unaligned access errors on NetBSD/alpha; add
the UNALIGNED decoration to struct icmp.
PR bin/56199.
diffstat:
external/bsd/tcpdump/dist/print-icmp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 119cfabdd24d -r 3ab3e9ff1653 external/bsd/tcpdump/dist/print-icmp.c
--- a/external/bsd/tcpdump/dist/print-icmp.c Sun May 30 20:41:34 2021 +0000
+++ b/external/bsd/tcpdump/dist/print-icmp.c Sun May 30 21:01:43 2021 +0000
@@ -21,7 +21,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: print-icmp.c,v 1.11 2020/02/24 18:39:47 kamil Exp $");
+__RCSID("$NetBSD: print-icmp.c,v 1.12 2021/05/30 21:01:43 thorpej Exp $");
#endif
/* \summary: Internet Control Message Protocol (ICMP) printer */
@@ -89,7 +89,7 @@ struct icmp {
#define icmp_ip icmp_dun.id_ip.idi_ip
#define icmp_mask icmp_dun.id_mask
#define icmp_data icmp_dun.id_data
-};
+} UNALIGNED;
#define ICMP_MPLS_EXT_EXTRACT_VERSION(x) (((x)&0xf0)>>4)
#define ICMP_MPLS_EXT_VERSION 2
Home |
Main Index |
Thread Index |
Old Index