Package: ppp
Version: 2.2.4rel-9
Severity: normal

When ppp is configured with the options demand and ipv6, and it gets an
local local-link address different from the one specified in the option, it
does not properly remove the old address from the interface when the
connection comes up.  The folowing lines are printed by pppd in the
terminal:

cif6addr: ioctl(SIOCDIFADDR): No such address
sif6addr: ioctl(SIOCADDRT): File exists (line 2486)

The interface keeps the old ipv6 address and a new one is added.

The bug is in pppd/ipv6cp.c:1224, (function ipv6cp_up):
  ipv6cp_clear_addrs(f->unit, go->ourid, ho->hisid);

go->ourid, the new interface id, is passed as parameter to
ipv6cp_clear_addrs, but the old interface id should be passed.

Reply via email to