summaryrefslogtreecommitdiff
path: root/oakley.h
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 /oakley.h
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 'oakley.h')
-rw-r--r--oakley.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/oakley.h b/oakley.h
index d1f49c8c..b94f032c 100644
--- a/oakley.h
+++ b/oakley.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-/* YIPS @(#)$Id: oakley.h,v 1.2 2002-06-11 17:08:40 itojun Exp $ */
+/* YIPS @(#)$Id: oakley.h,v 1.3 2002-11-09 17:19:22 itojun Exp $ */
/* refer to RFC 2409 */
@@ -120,7 +120,7 @@ struct oakley_sa {
u_int8_t enc_t; /* type of cipher */
u_int8_t life_t; /* type of duration of lifetime */
u_int32_t ldur; /* life duration */
-};
+} __attribute__((packed));
#endif
#endif /* !defined(_ISAKMP_OAKLEY_H_) */