mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
revert: don't disable seq check
This commit is contained in:
parent
30781757e3
commit
171e0e5ae3
@ -96,7 +96,6 @@ void waybar::modules::Network::createEventSocket()
|
||||
if (genl_connect(sk_) != 0) {
|
||||
throw std::runtime_error("Can't connect to netlink socket");
|
||||
}
|
||||
nl_socket_disable_seq_check(sk_);
|
||||
if (nl_socket_modify_cb(sk_, NL_CB_VALID, NL_CB_CUSTOM, handleScan, this) < 0) {
|
||||
throw std::runtime_error("Can't set callback");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user