summaryrefslogtreecommitdiff
path: root/isakmp.h
diff options
context:
space:
mode:
authorassar <assar>1999-11-17 04:14:50 +0000
committerassar <assar>1999-11-17 04:14:50 +0000
commitbf782e55664145ae93f4f0d2066946117554f196 (patch)
tree46c89e5477a511da840a57b1638808b84ca55cc7 /isakmp.h
parent6cc3e07267e3fab76e068b0f8a082a74489e9e75 (diff)
downloadtcpdump-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/isakmp.h b/isakmp.h
index b989a233..e8c7bd55 100644
--- a/isakmp.h
+++ b/isakmp.h
@@ -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 */