Let network module handle ipv4 and ipv6 simultaneously

This commit is contained in:
Gustaf Ullberg
2024-12-05 15:15:33 +01:00
parent 0e5728b533
commit db943dae98
2 changed files with 7 additions and 28 deletions

View File

@ -50,7 +50,6 @@ class Network : public ALabel {
std::optional<std::pair<unsigned long long, unsigned long long>> readBandwidthUsage();
int ifid_;
sa_family_t family_;
struct sockaddr_nl nladdr_ = {0};
struct nl_sock* sock_ = nullptr;
struct nl_sock* ev_sock_ = nullptr;