summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/interface/nethandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/interface/nethandler.cpp')
-rw-r--r--src/osd/interface/nethandler.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/osd/interface/nethandler.cpp b/src/osd/interface/nethandler.cpp
new file mode 100644
index 00000000000..f3715df9b12
--- /dev/null
+++ b/src/osd/interface/nethandler.cpp
@@ -0,0 +1,23 @@
+// license:BSD-3-Clause
+// copyright-holders:Vas Crabb
+/***************************************************************************
+
+ nethandler.cpp
+
+ OSD interface to virtual networking handlers
+
+***************************************************************************/
+
+#include "nethandler.h"
+
+#include <algorithm>
+
+
+namespace osd {
+
+network_handler::network_handler() noexcept
+{
+ std::fill(std::begin(m_mac), std::end(m_mac), 0);
+}
+
+} // namespace osd