Print this page
4586 dhcpv6 client id malformed
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Marcel Telka <marcel@telka.sk>

*** 22,33 **** /* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ - #pragma ident "%Z%%M% %I% %E% SMI" - /* * This module reads and writes the stable identifier values, DUID and IAID. */ #include <stdio.h> --- 22,31 ----
*** 141,150 **** --- 139,149 ---- * Try to read the MAC layer address for the physical interface * provided as a hint. If that works, we can use a DUID-LLT. */ if (dlpi_open(physintf, &dh, 0) == DLPI_SUCCESS && + dlpi_bind(dh, DLPI_ANY_SAP, NULL) == DLPI_SUCCESS && dlpi_info(dh, &dlinfo, 0) == DLPI_SUCCESS && (len = dlinfo.di_physaddrlen) > 0 && (arptype = dlpi_arptype(dlinfo.di_mactype) != 0)) { duid_llt_t *dllt; time_t now;