Changes between Initial Version and Version 1 of Ticket #17901, comment 18


Ignore:
Timestamp:
Dec 29, 2015, 10:18:42 AM (4 years ago)
Author:
yawning
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17901, comment 18

    initial v1  
    88
    99On Linux, when you query the interfaces, you can check the per-interface flags for `IFF_LOOPBACK`.  On systems where this information is readily available (I think we even already have code that uses the relevant ioctl), we should use that to restrict the set of candidate addresses.
     10
     11Edit: Yeah, `get_interface_addresses_ioctl()` issues the query we want, we just need to save the flags we care about somewhere.