--- nono/vm/ethernet.cpp 2026/04/29 17:04:32 1.1.1.2 +++ nono/vm/ethernet.cpp 2026/04/29 17:04:35 1.1.1.3 @@ -1,10 +1,11 @@ // // nono -// Copyright (C) 2019 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // -#include "config.h" #include "ethernet.h" +#include "config.h" #include "netdriver_bpf.h" #include "netdriver_tap.h" #include "netdriver_none.h" @@ -26,7 +27,7 @@ EthernetDevice::~EthernetDevice() bool EthernetDevice::Create() { - const ConfigItem& item = gConfig->Get("ethernet-hostdriver"); + const ConfigItem& item = gConfig->Find("ethernet-hostdriver"); const std::string& type = item.AsString(); if (type == "none") { gNetDriver.reset(new NetDriverNone());