This doesn't enumerate even though I do have a gateway.
Did anybody have any luck with this function? Its neighbor
Did anybody have any luck with this function? Its neighbor
Code Block nw_path_enumerate_interfaces()
works fine, connection is also fine.Code Block auto path = nw_connection_copy_current_path(connection); nw_path_enumerate_gateways(path, ^bool(nw_endpoint_t gateway) { os_log_info(oslog, "Gateway!"); return true; }