lifecycle: fix taking default routes down
This commit is contained in:
parent
9931279589
commit
89f2110254
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ handle_down(const struct lif_execute_opts *opts, struct lif_interface *iface, co
|
|||
}
|
||||
else if (!strcmp(entry->key, "gateway"))
|
||||
{
|
||||
if (!handle_gateway(opts, entry->key, "del"))
|
||||
if (!handle_gateway(opts, entry->data, "del"))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue