formatting

This commit is contained in:
zjeffer 2023-10-21 17:06:02 +02:00
parent ed65d9cdbd
commit 7576611782
1 changed files with 1 additions and 2 deletions

View File

@ -655,8 +655,7 @@ int waybar::modules::Network::handleEvents(struct nl_msg *msg, void *data) {
higher priority. Disable router -> RTA_GATEWAY -> up new router -> set higher priority added higher priority. Disable router -> RTA_GATEWAY -> up new router -> set higher priority added
checking route id checking route id
**/ **/
if (!is_del_event && if (!is_del_event && ((net->ifid_ == -1) || (priority < net->route_priority))) {
((net->ifid_ == -1) || (priority < net->route_priority))) {
// Clear if's state for the case were there is a higher priority // Clear if's state for the case were there is a higher priority
// route on a different interface. // route on a different interface.
net->clearIface(); net->clearIface();