lifecycle: fix taking default routes down

This commit is contained in:
Ariadne Conill 2020-07-24 00:11:37 -06:00
parent 9931279589
commit 89f2110254

View file

@ -135,7 +135,7 @@ handle_down(const struct lif_execute_opts *opts, struct lif_interface *iface, co
} }
else if (!strcmp(entry->key, "gateway")) else if (!strcmp(entry->key, "gateway"))
{ {
if (!handle_gateway(opts, entry->key, "del")) if (!handle_gateway(opts, entry->data, "del"))
return false; return false;
} }
} }