Sending IPv6_ra more often.
This commit is contained in:
parent
c9888dc111
commit
7034e6a018
4 changed files with 12 additions and 1 deletions
3
ppp.c
3
ppp.c
|
|
@ -1103,6 +1103,9 @@ void processlcp(sessionidt s, tunnelidt t, uint8_t *p, uint16_t l)
|
|||
if (config->debug > 3) dumplcp(q, l);
|
||||
|
||||
tunnelsend(b, l + (q - b), t); // send it
|
||||
|
||||
if (session[s].ppp.phase == Network && session[s].ppp.ipv6cp == Opened)
|
||||
send_ipv6_ra(s, t, NULL); // send a RA
|
||||
}
|
||||
else if (*p == EchoReply)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue