IPV6CP: suggest an interface identifier option

Some peers seem to be sending no such option. The rfc says in that case
to try to send an option with a suggested value. Don't insist on it
however if the peer still doesn't send any.

That can fix IPv6 for some peers.
This commit is contained in:
Samuel Thibault 2024-02-06 20:06:58 +01:00
parent 3add0afa38
commit 3ab80a9d66
2 changed files with 27 additions and 18 deletions

View file

@ -441,6 +441,9 @@ typedef struct
// last LCP Echo
time_t last_echo;
// Whether we tried to suggest the IPV6CP identifier option.
int tried_identifier;
// last unsolicited RA sent to user
time_t last_ra;