summaryrefslogtreecommitdiff
path: root/system-dummy.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2021-10-09 21:14:59 +0200
committerHans Dedecker <dedeckeh@gmail.com>2021-10-30 20:41:22 +0200
commit8f82742ca4f47f459284f3a07323d04da72ea5f6 (patch)
treeb57789a93c5f15e5d76675b1dcdae4ebd703a0dd /system-dummy.c
parentf78bdec2ed5f4c83d2c93f422c8bd21b68b02517 (diff)
downloadnetifd-8f82742ca4f47f459284f3a07323d04da72ea5f6.tar.gz
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 <dedeckeh@gmail.com>
Diffstat (limited to 'system-dummy.c')
-rw-r--r--system-dummy.c4
1 files changed, 2 insertions, 2 deletions
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;
}