From: Brendan O'Dea Date: Mon, 5 Dec 2005 13:56:12 +0000 (+0000) Subject: indicate spare (struct padding) bytes X-Git-Tag: 2.2.1-2fdn3.1~19^2^2~1^2~72 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/b78e45723b7c640f2eb1c1283924e50fa6b67735?ds=sidebyside indicate spare (struct padding) bytes --- diff --git a/l2tpns.h b/l2tpns.h index 593d05e..e898b83 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