mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-11 01:53:48 +08:00
PPP, don't store the name by which the peer authenticated itself to us if multilink support is disabled
pcb->peer_authname is only used by multilink support (which we don't support), don't store the useless peer authname.
This commit is contained in:
@@ -359,9 +359,9 @@ struct ppp_pcb_s {
|
||||
|
||||
#if PPP_AUTH_SUPPORT
|
||||
/* auth data */
|
||||
#if PPP_SERVER
|
||||
#if PPP_SERVER && defined(HAVE_MULTILINK)
|
||||
char peer_authname[MAXNAMELEN + 1]; /* The name by which the peer authenticated itself to us. */
|
||||
#endif /* PPP_SERVER */
|
||||
#endif /* PPP_SERVER && defined(HAVE_MULTILINK) */
|
||||
u16_t auth_pending; /* Records which authentication operations haven't completed yet. */
|
||||
u16_t auth_done; /* Records which authentication operations have been completed. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user