diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-09-20 11:20:36 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-09-20 11:20:36 -0700 |
commit | 56f51802672305ef82016b30adedb6da2996362c (patch) | |
tree | 8140e3f221b6ed47cc7ab07beeb2fd56e8ea0922 /print-ntp.c | |
parent | 0b1bccb50d5ab5e969b58f5a792a61dd51bc45d2 (diff) | |
download | tcpdump-56f51802672305ef82016b30adedb6da2996362c.tar.gz |
Actually, the UNALIGNED might not be necessary.
Diffstat (limited to 'print-ntp.c')
-rw-r--r-- | print-ntp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print-ntp.c b/print-ntp.c index bf1ee461..3ccf9833 100644 --- a/print-ntp.c +++ b/print-ntp.c @@ -70,12 +70,12 @@ static const char tstr[] = " [|ntp]"; struct l_fixedpt { nd_uint32_t int_part; nd_uint32_t fraction; -} UNALIGNED; +}; struct s_fixedpt { nd_uint16_t int_part; nd_uint16_t fraction; -} UNALIGNED; +}; /* rfc2030 * 1 2 3 @@ -135,7 +135,7 @@ struct ntp_time_data { struct l_fixedpt xmt_timestamp; nd_uint32_t key_id; nd_uint8_t message_digest[20]; -} UNALIGNED; +}; /* * Leap Second Codes (high order two bits) */ @@ -247,7 +247,7 @@ struct ntp_control_data { nd_uint16_t offset; /* Offset */ nd_uint16_t count; /* Count */ nd_uint8_t data[564]; /* Data, [Padding, [Authenticator]] */ -} UNALIGNED; +}; /* * Print NTP time requests and responses |