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

@@ -505,11 +505,13 @@
                                         maclen++;
                                         dig = val = 0;
                                 }
                         }
                 } else {
-                        if (dlpi_info(dh, &dlinfo, 0) != DLPI_SUCCESS) {
+                        if (dlpi_bind(dh, DLPI_ANY_SAP, NULL) !=
+                            DLPI_SUCCESS || dlpi_info(dh, &dlinfo, 0) !=
+                            DLPI_SUCCESS) {
                                 dlpi_close(dh);
                                 goto failed;
                         }
                         maclen = dlinfo.di_physaddrlen;
                         (void) memcpy(outbuf, dlinfo.di_physaddr, maclen);