Handle TXT records in wivrn_discover

This commit is contained in:
Guillaume Meunier
2023-12-16 14:16:48 +01:00
parent 59ebc4b87e
commit 1a1f72c919
2 changed files with 48 additions and 11 deletions
+2
View File
@@ -1,6 +1,7 @@
#pragma once
#include <chrono>
#include <map>
#include <memory>
#include <netinet/in.h>
#include <string>
@@ -20,6 +21,7 @@ public:
int port;
std::vector<std::variant<in_addr, in6_addr>> addresses;
std::map<std::string, std::string> txt;
std::chrono::steady_clock::time_point ttl;
};