summaryrefslogtreecommitdiffstats
path: root/zebra/ioctl.c
diff options
context:
space:
mode:
authorChris Hall (GMCH) <chris.hall@highwayman.com>2009-12-09 19:56:24 +0000
committerChris Hall (GMCH) <chris.hall@highwayman.com>2009-12-09 19:56:24 +0000
commit78cfba33568916dc861b37b771c2a261f67fffdd (patch)
treee7c25318f5a09905d04fb23447727da1e72a9074 /zebra/ioctl.c
parent5e4383cc008567bbb590031b920482e6f3a1dce9 (diff)
parentcc2dd9280c4456586080d1cf4537d26c02fa9a36 (diff)
downloadquagga-78cfba33568916dc861b37b771c2a261f67fffdd.tar.bz2
quagga-78cfba33568916dc861b37b771c2a261f67fffdd.tar.xz
Merge remote branch 'quagga/master' of /git/quagga.euro-ix into pthreads
Diffstat (limited to 'zebra/ioctl.c')
-rw-r--r--zebra/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/ioctl.c b/zebra/ioctl.c
index 5cf9e7b0..d783b0a3 100644
--- a/zebra/ioctl.c
+++ b/zebra/ioctl.c
@@ -372,7 +372,7 @@ if_get_flags (struct interface *ifp)
if (CHECK_FLAG (ifp->status, ZEBRA_INTERFACE_LINKDETECTION))
{
(void) memset(&ifmr, 0, sizeof(ifmr));
- strncpy (&ifmr.ifm_name, ifp->name, IFNAMSIZ);
+ strncpy (ifmr.ifm_name, ifp->name, IFNAMSIZ);
/* Seems not all interfaces implement this ioctl */
if (if_ioctl(SIOCGIFMEDIA, (caddr_t) &ifmr) < 0)