diff options
author | claudio <claudio@openbsd.org> | 2011-03-24 10:00:43 +0000 |
---|---|---|
committer | claudio <claudio@openbsd.org> | 2011-03-24 10:00:43 +0000 |
commit | 643e385056b6dd931aba9a9f419b646daf2c5aad (patch) | |
tree | 3a4ba382e0fd761be55f3049d1afa77ae15d313c /usr.sbin/ospf6d/ospf6.h | |
parent | Fix some memory leaks. Mainly better cleanup on shutdown but the v_nexthop (diff) | |
download | wireguard-openbsd-643e385056b6dd931aba9a9f419b646daf2c5aad.tar.xz wireguard-openbsd-643e385056b6dd931aba9a9f419b646daf2c5aad.zip |
Make the sequence number constanst explicitly unsigned. The seq_num is
already defined as a u_int32_t type.
Diffstat (limited to 'usr.sbin/ospf6d/ospf6.h')
-rw-r--r-- | usr.sbin/ospf6d/ospf6.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ospf6d/ospf6.h b/usr.sbin/ospf6d/ospf6.h index 10f8889cb1e..19316239f40 100644 --- a/usr.sbin/ospf6d/ospf6.h +++ b/usr.sbin/ospf6d/ospf6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6.h,v 1.17 2010/07/14 17:06:52 claudio Exp $ */ +/* $OpenBSD: ospf6.h,v 1.18 2011/03/24 10:00:43 claudio Exp $ */ /* * Copyright (c) 2004, 2005, 2007 Esben Norby <norby@openbsd.org> @@ -100,9 +100,9 @@ #define CHECK_AGE 300 #define MAX_AGE_DIFF 900 #define LS_INFINITY 0xffffff -#define RESV_SEQ_NUM 0x80000000 /* reserved and "unused" */ -#define INIT_SEQ_NUM 0x80000001 -#define MAX_SEQ_NUM 0x7fffffff +#define RESV_SEQ_NUM 0x80000000U /* reserved and "unused" */ +#define INIT_SEQ_NUM 0x80000001U +#define MAX_SEQ_NUM 0x7fffffffU /* OSPF header */ struct ospf_hdr { |