lwip/src
Sylvain Rochet fa3826a1d3 PPP: improve randomization of LCP magic number after power-up
magic_init() is first time called from ppp_init(), which is called from
lwip_init(). If system has no RTC, sys_jiffies() returns same value in
this moment after every power-up or system reset. This value used in LCP
magic number generation after ppp_connect(), which leads to same magic
number after every restart. Subsequent magic_randomize() calls takes
place in ppp_input(), after magic number generation.

Call magic_randomize() somewhere near start of ppp_connect() (and
ppp_listen()) as it might be called later at a random time.

Signed-off-by: Sylvain Rochet <gradator@gradator.net>
2018-08-31 10:12:50 +02:00
..
api api_lib: fix NETCONN_MBOX_WAITING_DEC() for LWIP_NETCONN_FULLDUPLEX 2018-08-07 13:39:41 +02:00
apps apps/sntp: Fix parameter name in doxygen comments 2018-08-19 21:41:47 +08:00
core Fix bug #54569: Compiler warning in ip4.c: unused parameter dest 2018-08-29 08:55:25 +02:00
include mqtt: fix reference function name in comment 2018-08-07 13:38:39 +02:00
netif PPP: improve randomization of LCP magic number after power-up 2018-08-31 10:12:50 +02:00
Filelists.cmake More cmake build system cleanups 2018-08-09 09:50:29 +02:00
Filelists.mk Revert Filelists.mk to original state - it is not really useful to generate it from Filelists.cmake 2018-05-02 09:40:36 +02:00
FILES update some FILES list files 2016-08-03 20:21:54 +02:00