summaryrefslogtreecommitdiffstats
path: root/src/interface_reader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface_reader.hpp')
-rw-r--r--src/interface_reader.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interface_reader.hpp b/src/interface_reader.hpp
index eed9ad1..149cc43 100644
--- a/src/interface_reader.hpp
+++ b/src/interface_reader.hpp
@@ -3,6 +3,7 @@
#include <string>
#include <vector>
#include <optional>
+#include "interface.hpp"
#include "interface_read_error.hpp"
class interface_reader {
@@ -12,7 +13,9 @@ class interface_reader {
std::optional<interface_read_error> read_interfaces(void);
private:
- std::vector<std::string> interfaces;
+ std::vector<std::string> interface_names;
+
+ std::vector<interface> interfaces;
};
#endif // GETIF_INTERFACE_READER_H