mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 17:13:49 +08:00
PPP: using a macro for ppp_set_default() instead of a function
This function is only calling netif_set_default(), a macro is adequate.
This commit is contained in:
@@ -237,10 +237,6 @@ int ppp_init(void) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ppp_set_default(ppp_pcb *pcb) {
|
||||
netif_set_default(pcb->netif);
|
||||
}
|
||||
|
||||
void ppp_set_auth(ppp_pcb *pcb, u8_t authtype, const char *user, const char *passwd) {
|
||||
|
||||
#if PAP_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user