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