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