http://bugzilla.novell.com/show_bug.cgi?id=614389 http://bugzilla.novell.com/show_bug.cgi?id=614389#c12 --- Comment #12 from Marius Tomaschewski <mt@novell.com> 2010-07-13 16:09:09 UTC --- When I fix the loop as follows, it works fine for me: -+ 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++ = (uint8_t)strtoul(brdcast->value + ch, NULL, 16); Fixed package is in home:mtomaschewski:branches:network:utilities/iputils and submit request 42881 to network:utilities/iputils. Marcus, Marco, Leonardo, can you retest again please? Does it work for you? http://download.opensuse.org/repositories/home:/mtomaschewski:/branches:/net... (In reply to comment #11)
Hi Marius and Marcus. I didn't test this patch because I *thought* it was the same as the one in bug #581830, comment #36 but apparently it's not. IIRC, I tested the patch from bug #581830 on Infiniband and regular Ethernet interfaces and it worked fine.
Until now I not even knew, that there is one variant more flying around :-) OK, the difference is that this patch makes use of sockaddr_storage and the sysfslib, the patch from bug #581830 implements the sysfs reading "manually". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.