diff options
Diffstat (limited to 'proto.c')
-rw-r--r-- | proto.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -270,6 +270,7 @@ parse_gateway_option(struct interface *iface, struct blob_attr *attr, bool v6) route->mask = 0; route->flags = (v6 ? DEVADDR_INET6 : DEVADDR_INET4); + route->metric = iface->metric; unsigned int table = (v6) ? iface->ip6table : iface->ip4table; if (table) { |