diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2018-02-08 19:12:01 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2018-02-08 19:19:18 +0500 |
commit | 2e4477498304db90061df3d387728e26a9232a5d (patch) | |
tree | 4968a3476c7c89ec29a04e7e7daaeb66745cfa51 /accel-pppd/log.c | |
parent | 841e9d29c82b2e5c5bc162a14125d6e285d3b32a (diff) | |
download | accel-ppp-2e4477498304db90061df3d387728e26a9232a5d.tar.gz accel-ppp-2e4477498304db90061df3d387728e26a9232a5d.zip |
ipv6: dhcpv6: fix PD linklocal route for ipoe clients
peer linklocal address can't be negotiated in ipoe mode unlike ppp,
so route may lead to nowhere with non-working PD routing as result.
so, instead of guessing peer link-local address, use dhcpv6 client
src address as the gateway.
since dhcpv6 clients are onlink and there's no dhcpv6 relay support
(yet), dhcpv6 source would be exactly final linklocal address, no
matter ppp or ipoe is in use.
fine tune commit abaa43a307fa7a790dd34034c5fd8013dbd0488c
Diffstat (limited to 'accel-pppd/log.c')
0 files changed, 0 insertions, 0 deletions