Package: wide-dhcpv6-client Version: 20080615-11.1 Severity: wishlist Tags: patch ipv6
The client wont assign a prefix-delegation (PD) address to a tun device since it has no ethernet address. Debian introduced an option to specify the IFID instead of using the EUI-64, so it should be acceptable to use devices without an ethernet address. -- System Information: Debian Release: 7.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wide-dhcpv6-client depends on: ii debconf [debconf-2.0] 1.5.49 ii libc6 2.13-38+deb7u1 ii lsb-base 4.1+Debian8+deb7u1 ii sharutils 1:4.11.1-1 wide-dhcpv6-client recommends no packages. wide-dhcpv6-client suggests no packages. -- Configuration Files: /etc/wide-dhcpv6/dhcp6c.conf changed [not included] -- debconf information excluded
--- wide-dhcpv6-20080615.orig/config.c +++ wide-dhcpv6-20080615/config.c @@ -1247,9 +1247,10 @@ get_default_ifid(pif) if (strcmp(ifa->ifa_name, pif->ifname) != 0) continue; - if (ifa->ifa_addr == NULL) - continue; - + if (ifa->ifa_addr == NULL) { + memset(pif->ifid, 0, sizeof(pif->ifid)); + break; + } #ifdef __KAME__ if (ifa->ifa_addr->sa_family != AF_LINK) continue;