summaryrefslogtreecommitdiffhomepage
path: root/system-dummy.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-04-05 12:24:13 +0200
committerJo-Philipp Wich <jow@openwrt.org>2013-04-05 12:24:13 +0200
commit68bb041b6ce4cde28186557262bee7b766c77b2d (patch)
tree07ca995d040c73480f00b745da94b8f72d377a05 /system-dummy.c
parentabba48ec2eac7965adac2c590d4d233c03b27c72 (diff)
Fix system_resolve_rt_table() stub in system-dummy.c
Diffstat (limited to 'system-dummy.c')
-rw-r--r--system-dummy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/system-dummy.c b/system-dummy.c
index d692b79..95546bf 100644
--- a/system-dummy.c
+++ b/system-dummy.c
@@ -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)