scripts: make config_add_* parameters take multiple arguments
[project/netifd.git] / system-dummy.c
index d692b79..c8379ff 100644 (file)
@@ -191,9 +191,10 @@ int system_flush_routes(void)
        return 0;
 }
 
-int system_resolve_rt_table(const char *name, struct device_route *route)
+bool system_resolve_rt_table(const char *name, unsigned int *id)
 {
-       return 0;
+       *id = 0;
+       return true;
 }
 
 int system_add_iprule(struct iprule *rule)
@@ -241,3 +242,13 @@ int system_update_ipv6_mtu(struct device *dev, int mtu)
 {
        return 0;
 }
+
+int system_macvlan_add(struct device *macvlan, struct device *dev, struct macvlan_config *cfg)
+{
+       return 0;
+}
+
+int system_macvlan_del(struct device *macvlan)
+{
+       return 0;
+}