mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
revert: don't disable seq check
This commit is contained in:
@@ -96,7 +96,6 @@ void waybar::modules::Network::createEventSocket()
|
|||||||
if (genl_connect(sk_) != 0) {
|
if (genl_connect(sk_) != 0) {
|
||||||
throw std::runtime_error("Can't connect to netlink socket");
|
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) {
|
if (nl_socket_modify_cb(sk_, NL_CB_VALID, NL_CB_CUSTOM, handleScan, this) < 0) {
|
||||||
throw std::runtime_error("Can't set callback");
|
throw std::runtime_error("Can't set callback");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user