netifd: Remove unnecessary default_config check in config_parse_interface
[project/netifd.git] / proto-static.c
index 51e2083..3e33c3d 100644 (file)
@@ -100,7 +100,8 @@ error:
 
 static struct proto_handler static_proto = {
        .name = "static",
 
 static struct proto_handler static_proto = {
        .name = "static",
-       .flags = PROTO_FLAG_IMMEDIATE,
+       .flags = PROTO_FLAG_IMMEDIATE |
+                PROTO_FLAG_FORCE_LINK_DEFAULT,
        .config_params = &proto_ip_attr,
        .attach = static_attach,
 };
        .config_params = &proto_ip_attr,
        .attach = static_attach,
 };