Fix system_resolve_rt_table() stub in system-dummy.c
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 5 Apr 2013 10:24:13 +0000 (12:24 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 5 Apr 2013 10:24:13 +0000 (12:24 +0200)
system-dummy.c

index d692b79..95546bf 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)