Blame SOURCES/iputils-ifenslave.patch
|
|
0fc8cb |
--- iputils/ifenslave.c.addr 2006-03-29 15:00:24.000000000 +0200
|
|
|
0fc8cb |
+++ iputils/ifenslave.c 2006-03-29 15:02:01.000000000 +0200
|
|
|
0fc8cb |
@@ -524,8 +524,8 @@
|
|
|
0fc8cb |
if (ioctl(skfd, SIOCGIFADDR, &ifr) < 0)
|
|
|
0fc8cb |
return -1;
|
|
|
0fc8cb |
printf("The result of SIOCGIFADDR is %2.2x.%2.2x.%2.2x.%2.2x.\n",
|
|
|
0fc8cb |
- ifr.ifr_addr.sa_data[0], ifr.ifr_addr.sa_data[1],
|
|
|
0fc8cb |
- ifr.ifr_addr.sa_data[2], ifr.ifr_addr.sa_data[3]);
|
|
|
0fc8cb |
+ ifr.ifr_addr.sa_data[2], ifr.ifr_addr.sa_data[3],
|
|
|
0fc8cb |
+ ifr.ifr_addr.sa_data[4], ifr.ifr_addr.sa_data[5]);
|
|
|
0fc8cb |
|
|
|
0fc8cb |
strcpy(ifr.ifr_name, ifname);
|
|
|
0fc8cb |
if (ioctl(skfd, SIOCGIFHWADDR, &ifr) < 0)
|