interface-ip: add support for excluding interfaces in host route lookup
[project/netifd.git] / proto-shell.c
index e20d53961592d614123c03fa7057d3d31f061fb2..9cdbc7fde362ac4ea112743bfcd8831bc38d6eca 100644 (file)
@@ -129,7 +129,7 @@ proto_shell_update_host_dep(struct proto_shell_dependency *dep)
        }
 
        if (!dep->any)
-               iface = interface_ip_add_target_route(&dep->host, dep->v6, iface);
+               iface = interface_ip_add_target_route(&dep->host, dep->v6, iface, false);
 
        if (!iface)
                goto out;