From 8f82742ca4f47f459284f3a07323d04da72ea5f6 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Sat, 9 Oct 2021 21:14:59 +0200 Subject: system-linux: fix deletion of ip tunnels (FS#4058) The deletion of IP tunnels via the ioctl interface is broken; instead of fixing the ioctl interface switch to the netlink based interface to delete IP tunnel devices as this simplifies and unifies the code Signed-off-by: Hans Dedecker --- system-dummy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system-dummy.c') diff --git a/system-dummy.c b/system-dummy.c index 8a8a452..b13bc87 100644 --- a/system-dummy.c +++ b/system-dummy.c @@ -335,12 +335,12 @@ time_t system_get_rtime(void) return 0; } -int system_del_ip_tunnel(const char *name, struct blob_attr *attr) +int system_del_ip_tunnel(const struct device *dev) { return 0; } -int system_add_ip_tunnel(const char *name, struct blob_attr *attr) +int system_add_ip_tunnel(const struct device *dev, struct blob_attr *attr) { return 0; } -- cgit v1.2.1