mirror of
https://github.com/troglobit/finit.git
synced 2026-10-06 15:50:12 +07:00
Rename condition net/gw --> net/route/default in netlink plugin
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+2
-2
@@ -88,9 +88,9 @@ static void nl_route(struct nlmsghdr *nlmsg)
|
||||
|
||||
if ((!dst && !mask) && (gw || idx)) {
|
||||
if (nlmsg->nlmsg_type == RTM_DELROUTE)
|
||||
cond_clear("net/gw");
|
||||
cond_clear("net/route/default");
|
||||
else
|
||||
cond_set("net/gw");
|
||||
cond_set("net/route/default");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user