diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-14 17:17:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-14 17:17:42 +0100 |
commit | c90b5703c88339f7bdf909b77a45ea93c21792cd (patch) | |
tree | fc3397900dc6bdbcdd17cf773f6d60e53abc025a /src/transport/gnunet-helper-transport-wlan.c | |
parent | f62e24a88c21235bc3c901508cfb474509ef2961 (diff) | |
parent | d36019fe48ff1e4e56754ef3e689bd67445a38f6 (diff) | |
download | gnunet-c90b5703c88339f7bdf909b77a45ea93c21792cd.tar.gz gnunet-c90b5703c88339f7bdf909b77a45ea93c21792cd.zip |
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Diffstat (limited to 'src/transport/gnunet-helper-transport-wlan.c')
-rw-r--r-- | src/transport/gnunet-helper-transport-wlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan.c b/src/transport/gnunet-helper-transport-wlan.c index 83ade115b..f1b190993 100644 --- a/src/transport/gnunet-helper-transport-wlan.c +++ b/src/transport/gnunet-helper-transport-wlan.c | |||
@@ -2004,7 +2004,7 @@ main (int argc, char *argv[]) | |||
2004 | (void) close (dev.fd_raw); | 2004 | (void) close (dev.fd_raw); |
2005 | return 1; | 2005 | return 1; |
2006 | } | 2006 | } |
2007 | strncpy (dev.iface, argv[1], IFNAMSIZ); | 2007 | memcpy (dev.iface, argv[1], IFNAMSIZ); |
2008 | if (0 != open_device_raw (&dev)) | 2008 | if (0 != open_device_raw (&dev)) |
2009 | { | 2009 | { |
2010 | (void) close (dev.fd_raw); | 2010 | (void) close (dev.fd_raw); |