mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-27 04:39:36 +01:00
Merge branch 'feature/pppos_client_test' into 'master'
PPPoS client test Closes IDF-310, WIFI-1652, IDFGH-2844, and IDFGH-2732 See merge request espressif/esp-idf!7794
This commit is contained in:
@@ -246,7 +246,8 @@ esp_err_t esp_netif_ppp_set_auth(esp_netif_t *netif, esp_netif_auth_type_t autht
|
||||
struct lwip_ppp_ctx *obj = netif->lwip_ppp_ctx;
|
||||
pppapi_set_auth(obj->ppp, authtype, user, passwd);
|
||||
#else
|
||||
#error "Unsupported AUTH Negotiation"
|
||||
ESP_LOGE(TAG, "%s failed: No authorisation enabled in menuconfig", __func__);
|
||||
return ESP_ERR_ESP_NETIF_IF_NOT_READY;
|
||||
#endif
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
@@ -661,6 +661,8 @@
|
||||
|
||||
#if PPP_DEBUG_ON
|
||||
#define PPP_DEBUG LWIP_DBG_ON
|
||||
#define PRINTPKT_SUPPORT 1
|
||||
#define PPP_PROTOCOLNAME 1
|
||||
#else
|
||||
#define PPP_DEBUG LWIP_DBG_OFF
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user