0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

The OSPF authentication type was sent in host byte order instead of of

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)
This commit is contained in:
Martin Mares 2004-05-31 18:13:14 +00:00
parent 3cb96cd343
commit 4ef3dccfa1

View File

@ -426,9 +426,10 @@ struct ospf_iface_patt {
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;
};