]> The Tcpdump Group git mirrors - tcpdump/blobdiff - ospf.h
Remove the -a flag. It's nonsensical to apply the local netmask to all
[tcpdump] / ospf.h
diff --git a/ospf.h b/ospf.h
index 46b7c160733e7e794323353803256e9efe5199ae..8307f1cc5e9cda31e97a3cb50a7361134f1cbc7b 100644 (file)
--- a/ospf.h
+++ b/ospf.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/ospf.h,v 1.5 2002-11-09 17:19:23 itojun Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/ospf.h,v 1.7 2002-12-11 07:13:56 guy Exp $ (LBL) */
 /*
  * Copyright (c) 1991, 1993, 1994, 1995, 1996, 1997
  *     The Regents of the University of California.  All rights reserved.
@@ -112,7 +112,7 @@ struct lsa_hdr {
     u_int32_t ls_seq;
     u_int16_t ls_chksum;
     u_int16_t ls_length;
-}  __attribute__((packed));
+};
 
 /* link state advertisement */
 struct lsa {
@@ -167,13 +167,13 @@ struct lsa {
            u_int8_t opaque_type;
            u_int8_t opaque_id[3];
            struct in_addr adv_router;
-           struct in_addr sequence_num;;
+           struct in_addr sequence_num;
            u_int16_t chksum;
             u_int16_t length;
        } un_opaque[1];
 
     } lsa_un;
-} __attribute__((packed));
+};
 
 
 /*
@@ -183,7 +183,7 @@ struct tos_metric {
     u_int8_t tos_type;
     u_int8_t tos_zero;
     u_int16_t tos_metric;
-} __attribute__((packed));
+};
 
 #define        OSPF_AUTH_SIZE  8
 
@@ -240,7 +240,7 @@ struct ospfhdr {
            struct lsa_hdr lsa_lshdr[1]; /* may repeat  */
        } un_lsa ;
     } ospf_un ;
-} __attribute__((packed));
+};
 
 #define        ospf_hello      ospf_un.un_hello
 #define        ospf_db         ospf_un.un_db