Re: [PATCH] udhcpc6 source address is null, should be link-local address

2013-08-21 Thread Ralf Friedl
Denys Vlasenko wrote: But what if interface has no IPv6 addresses? Isn't the whole purpose of DHCP is to *acquire an address*? For example, I don't use or need IPv6 for now. I just checked, and as expected, none of my interfaces have any IPv6 addresses. What should happen in this case? Does an

Re: [PATCH] udhcpc6 source address is null, should be link-local address

2013-08-20 Thread Denys Vlasenko
On Monday 19 August 2013 09:32, Mathias Krüger wrote: Okay, then here is the second try ;) $ patch -p1 /tmp/z.patch --dry-run patching file networking/udhcp/d6_common.h Hunk #1 FAILED at 91. 1 out of 1 hunk FAILED -- saving rejects to file networking/udhcp/d6_common.h.rej patching file

Re: [PATCH] udhcpc6 source address is null, should be link-local address

2013-08-20 Thread Denys Vlasenko
On Monday 19 August 2013 09:32, Mathias Krüger wrote: Okay, then here is the second try ;) Here is a cleaned-up version of the patch (attached). But what if interface has no IPv6 addresses? Isn't the whole purpose of DHCP is to *acquire an address*? For example, I don't use or need IPv6 for

Re: [PATCH] udhcpc6 source address is null, should be link-local address

2013-08-20 Thread Denys Vlasenko
On Tuesday 20 August 2013 23:12, Matt Whitlock wrote: On Tuesday, 20 August 2013, at 11:10 pm, Denys Vlasenko wrote: But what if interface has no IPv6 addresses? Isn't the whole purpose of DHCP is to *acquire an address*? Interfaces that support IPv6 addressing should automatically have