Skip to content
  • David Johnson's avatar
    Fix makeIfaceMaps to ensure it doesn't die(). · f261a6b8
    David Johnson authored
    To ensure this can be run without a lock, don't die on a failed open of
    /sys/class/net/$iface/address.  The only reason we'll fail to open here
    is if the device has gone away after the initial dir listing, and that
    can happen either if our code doesn't hold a global lock while calling
    this function, or if some other OS process removes a device.
    f261a6b8