diff options
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; +} |