diff --git a/libs/asiotap/src/posix/posix_tap_adapter.cpp b/libs/asiotap/src/posix/posix_tap_adapter.cpp index 92ff08be..b82d0971 100644 --- a/libs/asiotap/src/posix/posix_tap_adapter.cpp +++ b/libs/asiotap/src/posix/posix_tap_adapter.cpp @@ -238,7 +238,7 @@ namespace asiotap m_existing_tap = !_name.empty(); #if defined(LINUX) - const std::string dev_name = (layer() == tap_adapter_layer::ethernet) ? "/dev/net/tap" : "/dev/net/tun"; + const std::string dev_name = "/dev/net/tun"; if (::access(dev_name.c_str(), F_OK) == -1) {