diff options
author | Steven Barth <steven@midlink.org> | 2013-01-08 18:52:32 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-15 11:12:53 +0100 |
commit | d7f7f002e3d168aedb5f2bc92180f5966482d7d9 (patch) | |
tree | 05b56547fd087c3865416e290d7e8289d41f2860 /system-dummy.c | |
parent | 9908adbd9a31c92f13b05f0c057d4429edbc5184 (diff) |
Initial IPv6 prefix support
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'system-dummy.c')
-rw-r--r-- | system-dummy.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system-dummy.c b/system-dummy.c index 4609358..14c7a97 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -166,7 +166,8 @@ static int system_route_msg(struct device *dev, struct device_route *route, cons else gw[0] = 0; - sprintf(devstr, " dev %s", dev->ifname); + if (dev) + sprintf(devstr, " dev %s", dev->ifname); if (route->metric > 0) sprintf(devstr, " metric %d", route->metric); @@ -209,3 +210,8 @@ int system_add_ip_tunnel(const char *name, struct blob_attr *attr) { return 0; } + +int system_update_ipv6_mtu(struct device *dev, int mtu) +{ + return 0; +} |