diff options
author | assar <assar> | 1999-11-17 04:14:50 +0000 |
---|---|---|
committer | assar <assar> | 1999-11-17 04:14:50 +0000 |
commit | bf782e55664145ae93f4f0d2066946117554f196 (patch) | |
tree | 46c89e5477a511da840a57b1638808b84ca55cc7 /isakmp.h | |
parent | 6cc3e07267e3fab76e068b0f8a082a74489e9e75 (diff) | |
download | tcpdump-bf782e55664145ae93f4f0d2066946117554f196.tar.gz |
fixes to make ansi-pedantic compilers happier. no char types for bit fields and minor type correctness
Diffstat (limited to 'isakmp.h')
-rw-r--r-- | isakmp.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -/* YIPS @(#)$Id: isakmp.h,v 1.2 1999-10-30 07:36:36 itojun Exp $ */ +/* YIPS @(#)$Id: isakmp.h,v 1.3 1999-11-17 04:14:50 assar Exp $ */ /* refer to RFC 2408 */ @@ -102,10 +102,10 @@ struct isakmp { cookie_t r_ck; /* Responder Cookie */ u_int8_t np; /* Next Payload Type */ #if defined(WORDS_BIGENDIAN) || (defined(BYTE_ORDER) && (BYTE_ORDER == BIG_ENDIAN)) - u_int8_t v_maj:4, /* MnVer */ + u_int v_maj:4, /* MnVer */ v_min:4; /* MjVer */ #else - u_int8_t v_min:4, /* MnVer */ + u_int v_min:4, /* MnVer */ v_maj:4; /* MjVer */ #endif u_int8_t etype; /* Exchange Type */ |