diff options
-rw-r--r-- | proto/ospf/ospf.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index d1085c4d..8a246bef 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -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; }; |