summaryrefslogtreecommitdiff
path: root/networking/ifenslave.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifenslave.c')
-rw-r--r--networking/ifenslave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c
index f7f87bc..c3be818 100644
--- a/networking/ifenslave.c
+++ b/networking/ifenslave.c
@@ -270,7 +270,7 @@ static int set_if_addr(char *master_ifname, char *slave_ifname)
if (res < 0) {
ifr.ifr_addr.sa_family = AF_INET;
memset(ifr.ifr_addr.sa_data, 0,
- sizeof(ifr.ifr_addr.sa_data));
+ sizeof(ifr.ifr_addr.sa_data));
}
res = set_ifrname_and_do_ioctl(ifra[i].s_ioctl, &ifr, slave_ifname);