From 4a623798f1c15e9c575a8185ce7288503c2a3f6d Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 17 Jan 2020 09:54:16 +0800 Subject: [PATCH] esp_netif_ppp: Add NETIF_PPP_AUTHTYPE_NONE to esp_netif_auth_type_t To allow setting auth_type to PPPAUTHTYPE_NONE, add NETIF_PPP_AUTHTYPE_NONE to esp_netif_auth_type_t. So even PAP/CHAP are enabled in lwIP, the application still can set auth_type to PPPAUTHTYPE_NONE. Signed-off-by: Axel Lin --- components/esp_netif/include/esp_netif_ppp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp_netif/include/esp_netif_ppp.h b/components/esp_netif/include/esp_netif_ppp.h index b6df9fdfdb..413910c433 100644 --- a/components/esp_netif/include/esp_netif_ppp.h +++ b/components/esp_netif/include/esp_netif_ppp.h @@ -74,6 +74,7 @@ typedef enum { * */ typedef enum { + NETIF_PPP_AUTHTYPE_NONE = 0x00, NETIF_PPP_AUTHTYPE_PAP = 0x01, NETIF_PPP_AUTHTYPE_CHAP = 0x02, NETIF_PPP_AUTHTYPE_MSCHAP = 0x04,