From 1e6ec8b41afe71f9e1d5cac4a49f9840c609fe4e Mon Sep 17 00:00:00 2001 From: bodea Date: Mon, 5 Dec 2005 13:56:12 +0000 Subject: [PATCH 1/1] indicate spare (struct padding) bytes --- l2tpns.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l2tpns.h b/l2tpns.h index 32bfaf6..d7c29e0 100644 --- a/l2tpns.h +++ b/l2tpns.h @@ -1,5 +1,5 @@ // L2TPNS Global Stuff -// $Id: l2tpns.h,v 1.100 2005/11/25 02:18:40 bodea Exp $ +// $Id: l2tpns.h,v 1.101 2005/12/05 13:56:12 bodea Exp $ #ifndef __L2TPNS_H__ #define __L2TPNS_H__ @@ -235,8 +235,8 @@ typedef struct uint8_t ipcp:4; // IPCP state uint8_t ipv6cp:4; // IPV6CP state uint8_t ccp:4; // CCP state - uint8_t pad; // unused } ppp; + char pad[2]; // unused in_addr_t ip; // IP of session set by RADIUS response (host byte order). int ip_pool_index; // index to IP pool uint32_t unique_id; // unique session id -- 2.20.1