mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
PPP, CORE, cleaned struct ppp_settings coding style
This commit is contained in:
parent
5a71509353
commit
2315f32ca0
@ -192,28 +192,28 @@ typedef struct ppp_settings_s {
|
||||
unsigned int :1; /* 1 bit of padding */
|
||||
#endif /* PPP_REMOTENAME */
|
||||
#if PAP_SUPPORT
|
||||
unsigned int refuse_pap : 1; /* Don't wanna auth. ourselves with PAP */
|
||||
unsigned int refuse_pap :1; /* Don't proceed auth. with PAP */
|
||||
#else
|
||||
unsigned int :1; /* 1 bit of padding */
|
||||
#endif /* PAP_SUPPORT */
|
||||
#if CHAP_SUPPORT
|
||||
unsigned int refuse_chap : 1; /* Don't wanna auth. ourselves with CHAP */
|
||||
unsigned int refuse_chap :1; /* Don't proceed auth. with CHAP */
|
||||
#else
|
||||
unsigned int :1; /* 1 bit of padding */
|
||||
#endif /* CHAP_SUPPORT */
|
||||
#if MSCHAP_SUPPORT
|
||||
unsigned int refuse_mschap : 1; /* Don't wanna auth. ourselves with MS-CHAP */
|
||||
unsigned int refuse_mschap_v2 : 1; /* Don't wanna auth. ourselves with MS-CHAPv2 */
|
||||
unsigned int refuse_mschap :1; /* Don't proceed auth. with MS-CHAP */
|
||||
unsigned int refuse_mschap_v2 :1; /* Don't proceed auth. with MS-CHAPv2 */
|
||||
#else
|
||||
unsigned int :2; /* 2 bits of padding */
|
||||
#endif /* MSCHAP_SUPPORT */
|
||||
#if EAP_SUPPORT
|
||||
unsigned int refuse_eap : 1; /* Don't wanna auth. ourselves with EAP */
|
||||
unsigned int refuse_eap :1; /* Don't proceed auth. with EAP */
|
||||
#else
|
||||
unsigned int :1; /* 1 bit of padding */
|
||||
#endif /* EAP_SUPPORT */
|
||||
unsigned int usepeerdns :1; /* Ask peer for DNS adds */
|
||||
unsigned int persist : 1; /* Persist mode, always try to reopen the connection */
|
||||
unsigned int persist :1; /* Persist mode, always try to open the connection */
|
||||
#if PRINTPKT_SUPPORT
|
||||
unsigned int hide_password :1; /* Hide password in dumped packets */
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user