summaryrefslogtreecommitdiffstats
path: root/network_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'network_manager.hpp')
-rw-r--r--network_manager.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/network_manager.hpp b/network_manager.hpp
index 2e90b23..3d745ce 100644
--- a/network_manager.hpp
+++ b/network_manager.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "ethernet_interface.hpp"
+#include "types.hpp"
#include "xyz/openbmc_project/Network/VLAN/Create/server.hpp"
#include <sdbusplus/bus.hpp>
@@ -69,16 +70,16 @@ class Manager : public details::VLANCreateIface
*/
Manager(sdbusplus::bus::bus& bus, const char* objPath);
- void vLAN(details::IntfName interfaceName, uint16_t id) override;
+ void vLAN(IntfName interfaceName, uint16_t id) override;
private:
/** @brief Get all the interfaces from the system.
* @returns list of interface names.
*/
- details::IntfAddrMap getInterfaceAndaddrs() const;
+ IntfAddrMap getInterfaceAddrs() const;
/** @brief Persistent map of EthernetInterface dbus objects and their names */
- std::map<details::IntfName, std::unique_ptr<EthernetInterface>> interfaces;
+ std::map<IntfName, std::unique_ptr<EthernetInterface>> interfaces;
};
OpenPOWER on IntegriCloud