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 d692b79886a695ce5441101507f68c63a3482e49..95546bf5200a6d043d885c63a0d1235f4526cb31 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)