network byte order thus breaking interoperability with other routing
daemons on litte endian machines. The patch fixes this but note that
this breaks compatability with older bird installations using OSPF and
password authentication
(Andreas)
int autype;
int strictnbma;
int stub;
-#define AU_NONE 0
-#define AU_SIMPLE 1
-#define AU_CRYPT 2
+/* must be in network byte order */
+#define AU_NONE htons(0)
+#define AU_SIMPLE htons(1)
+#define AU_CRYPT htons(2)
u8 password[8];
list nbma_list;
};