Rename condition net/gw --> net/route/default in netlink plugin

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-07-14 15:41:47 +02:00
parent fbef03a4c6
commit 6ff9cb2ff3
+2 -2
View File
@@ -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");
}
}