net: ppp: Reset flag is_ipcp_up in ipcp_down
Without this fix is it not possible to terminate pppd and restart pppd afterwards without restarting the firmware, too. Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
This commit is contained in:
parent
530855f607
commit
cdb6332af6
|
@ -404,6 +404,7 @@ static void ipcp_down(struct ppp_fsm *fsm)
|
|||
}
|
||||
|
||||
ctx->is_network_up = false;
|
||||
ctx->is_ipcp_up = false;
|
||||
|
||||
ppp_network_down(ctx, PPP_IP);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue