summaryrefslogtreecommitdiff
path: root/print-mobile.c
diff options
context:
space:
mode:
authoritojun <itojun>2002-11-09 17:19:16 +0000
committeritojun <itojun>2002-11-09 17:19:16 +0000
commit10afb02ac804db7fa41a776fd61eff922c09c4df (patch)
tree7853d4c0ef4bed1104cf17690a35df64acf49dfe /print-mobile.c
parentdcc101488006c0dce19f4a4386b3cd936d9b6d87 (diff)
downloadtcpdump-10afb02ac804db7fa41a776fd61eff922c09c4df.tar.gz
put __attribute__((packed)) to packet headers. s/u_short/u_int16_t/ and so
forth while i'm here
Diffstat (limited to 'print-mobile.c')
-rw-r--r--print-mobile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-mobile.c b/print-mobile.c
index 29895133..30a4d68a 100644
--- a/print-mobile.c
+++ b/print-mobile.c
@@ -42,7 +42,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.10 2002-08-01 08:53:19 risso Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.11 2002-11-09 17:19:28 itojun Exp $";
#endif
#include <tcpdump-stdinc.h>
@@ -60,7 +60,7 @@ struct mobile_ip {
u_int16_t hcheck;
u_int32_t odst;
u_int32_t osrc;
-};
+} __attribute__((packed));
#define OSRC_PRES 0x0080 /* old source is present */