Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1537

getHardwareAddress() return different result on the AS 7.1.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Major Major
    • None
    • None
    • EE
    • None

      Enumeration e1 = NetworkInterface.getNetworkInterfaces(); 
      for (e1.hasMoreElements();) {
      NetworkInterface NIC = (NetworkInterface) e1.nextElement();
      byte buf[] = NIC.getHardwareAddress();
      ...
      }
      

      On JBOSS AS 4.2.3,buf[] is not null in some loops,but is all null on JBOSS AS 7.1.1,so can not obtain the MAC address.

            dlloyd@redhat.com David Lloyd
            freeeob eob free (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: