From: pali <7141871+pali@users.noreply.github.com> Date: Tue, 26 Jan 2021 02:52:22 +0000 (+0100) Subject: pppd: Fix demand mode with noremoteip option (#232) X-Git-Tag: ppp-2.5.0~95 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=99578f2b8bc6592119868e5fbe6f723cf3640bc2;hp=99578f2b8bc6592119868e5fbe6f723cf3640bc2;p=ppp.git pppd: Fix demand mode with noremoteip option (#232) When noremoteip is set then initial hisaddr (peer address) is zero. So to handle setting correct peer address after establishing connection it is needed to change logic around 'wo->hisaddr != 0' condition. wo->hisaddr needs to be updated from initial zero address to correct peer address. Signed-off-by: Pali Rohár ---