a2f67ab311
- upstream maintainer has changed. new maintainer is YOSHIFUJI Hideaki. Along with this change the versioning of the package also changed. Current version is: s20100418 from 18-Apr-2010 - many patches upstream now, reduced patch set OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=11
17 lines
368 B
Diff
17 lines
368 B
Diff
--- arping.c
|
|
+++ arping.c
|
|
@@ -335,8 +335,8 @@ void set_device_broadcast(char *device, unsigned char *ba, size_t balen)
|
|
exit(2);
|
|
}
|
|
|
|
- for (p = ba, ch = 0; p < ba + balen; p++, ch += 3)
|
|
- *p++ = strtoul(brdcast->value + ch * 3, NULL, 16);
|
|
+ for (p = ba, ch = 0; p < ba + balen; ch += 3)
|
|
+ *p++ = strtoul(brdcast->value + ch, NULL, 16);
|
|
|
|
return;
|
|
}
|
|
--
|
|
1.7.1
|
|
|