X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-linux.c;h=a7508fe3989601278c667bf3fb150a12afcb70c8;hb=c4d488788a3ed8fba3e75c9ddd632d1f98e9ac77;hp=50c4f2dab40313e018d5c83432fd2953a895d31f;hpb=98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be;p=ppp.git diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 50c4f2d..a7508fe 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -2885,8 +2885,8 @@ static int append_peer_ipv6_address(unsigned int iface, struct in6_addr *local_a ifa = NLMSG_DATA(nlmsg); ifa->ifa_family = AF_INET6; ifa->ifa_prefixlen = 128; - ifa->ifa_flags = 0; - ifa->ifa_scope = RT_SCOPE_UNIVERSE; + ifa->ifa_flags = IFA_F_PERMANENT; + ifa->ifa_scope = RT_SCOPE_LINK; ifa->ifa_index = iface; local_rta = IFA_RTA(ifa);