Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4422122

getInterface returns different address from that set with setInterface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • core-libs
    • None
    • beta
    • generic
    • generic


      In context of IPv6 the appropriate methods for setting & obtaining the
      interfaces for multicasts are setNetworkInterface & getNetworkInterfaces.
      However the legacy setInterface & getInterface methods need to be
      supported but the InetAddress returned by getInterface can't be
      guaranteed to be the same InetAddress that was set with setInterface.
      This occurs when there is more than one address on the same
      network interface (eg: IPv6 & IPv4 address). This should be fixed.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: