fix(eppp): Make some common netif options configurable

This commit is contained in:
David Cermak
2024-05-27 16:43:32 +02:00
parent fcb60806a9
commit 7829e8f976
2 changed files with 21 additions and 5 deletions

View File

@ -37,6 +37,8 @@
. ppp = { \
.our_ip4_addr = { .addr = our_ip }, \
.their_ip4_addr = { .addr = their_ip }, \
.netif_prio = 0, \
.netif_description = NULL, \
} \
}
@ -88,6 +90,8 @@ typedef struct eppp_config_t {
struct eppp_config_pppos_s {
esp_ip4_addr_t our_ip4_addr;
esp_ip4_addr_t their_ip4_addr;
int netif_prio;
const char *netif_description;
} ppp;
} eppp_config_t;