From 4bbf443ba257e9913a045c9d7bc5101db55b5df5 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Tue, 19 Jun 2012 23:42:41 +0200 Subject: [PATCH] improved CHAP structure size, however there is not much we can do --- src/netif/ppp/chap-new.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/netif/ppp/chap-new.h b/src/netif/ppp/chap-new.h index 98f4c54d..d7f42f13 100644 --- a/src/netif/ppp/chap-new.h +++ b/src/netif/ppp/chap-new.h @@ -145,7 +145,7 @@ struct chap_digest_type { */ #if CHAP_SUPPORT typedef struct chap_client_state { - int flags; + u8_t flags; char *name; struct chap_digest_type *digest; unsigned char priv[64]; /* private area for digest's use */ @@ -153,7 +153,7 @@ typedef struct chap_client_state { #if PPP_SERVER static struct chap_server_state { - int flags; + u8_t flags; int id; char *name; struct chap_digest_type *digest;