projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ip link: add VLAN support
[oweals/busybox.git]
/
networking
/
ifenslave.c
diff --git
a/networking/ifenslave.c
b/networking/ifenslave.c
index f7f87bc552540452cc532f9b437ce718de7f9d6f..c3be8180b6f75716c324011bf1e7590b2cfbcaba 100644
(file)
--- 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);