From d7f7f002e3d168aedb5f2bc92180f5966482d7d9 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 8 Jan 2013 18:52:32 +0100 Subject: Initial IPv6 prefix support Signed-off-by: Steven Barth --- system-dummy.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'system-dummy.c') 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; +} -- cgit v1.2.1