Home
last modified time | relevance | path

Searched refs:pppoe_error_tmp (Results 1 – 1 of 1) sorted by relevance

/lib/liblwip/src/netif/ppp/
Dppp_oe.c113 static char pppoe_error_tmp[PPPOE_ERRORSTRING_LEN]; variable
395 u16_t error_len = LWIP_MIN(len, sizeof(pppoe_error_tmp)-1); in pppoe_dispatch_disc_pkt()
396 strncpy(pppoe_error_tmp, (char*)pb->payload + off + sizeof(pt), error_len); in pppoe_dispatch_disc_pkt()
397 pppoe_error_tmp[error_len-1] = '\0'; in pppoe_dispatch_disc_pkt()
398 printf("%s: %s: %s\n", devname, err_msg, pppoe_error_tmp); in pppoe_dispatch_disc_pkt()