aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iptunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/iptunnel.c')
-rw-r--r--networking/libiproute/iptunnel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c
index a67803ff4..e2e75fce0 100644
--- a/networking/libiproute/iptunnel.c
+++ b/networking/libiproute/iptunnel.c
@@ -85,7 +85,7 @@ static char *do_ioctl_get_ifname(int idx)
85 85
86 86
87 87
88static int do_get_ioctl(char *basedev, struct ip_tunnel_parm *p) 88static int do_get_ioctl(const char *basedev, struct ip_tunnel_parm *p)
89{ 89{
90 struct ifreq ifr; 90 struct ifreq ifr;
91 int fd; 91 int fd;
@@ -102,7 +102,7 @@ static int do_get_ioctl(char *basedev, struct ip_tunnel_parm *p)
102 return err; 102 return err;
103} 103}
104 104
105static int do_add_ioctl(int cmd, char *basedev, struct ip_tunnel_parm *p) 105static int do_add_ioctl(int cmd, const char *basedev, struct ip_tunnel_parm *p)
106{ 106{
107 struct ifreq ifr; 107 struct ifreq ifr;
108 int fd; 108 int fd;
@@ -123,7 +123,7 @@ static int do_add_ioctl(int cmd, char *basedev, struct ip_tunnel_parm *p)
123 return err; 123 return err;
124} 124}
125 125
126static int do_del_ioctl(char *basedev, struct ip_tunnel_parm *p) 126static int do_del_ioctl(const char *basedev, struct ip_tunnel_parm *p)
127{ 127{
128 struct ifreq ifr; 128 struct ifreq ifr;
129 int fd; 129 int fd;