The attached patch fixes the problem. Somehow the loop copying the broadcast address has its counters incremented twice: ch +=3 and used *3, p++ is in the for loop and in the assignment.
To use this patch, do the following: apt-get source iputils-arping apt-get build-dep iputils-arping cd iputils-20100418 patch < fix-wrong-broadcast.diff dpkg-buildpackage -a dpkg -i ../iputils-arping*.deb ** Patch added: "fix-wrong-broadcast.diff" https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/664165/+attachment/1874280/+files/fix-wrong-broadcast.diff ** Patch removed: "fix-wrong-broadcast.diff" https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/664165/+attachment/1874280/+files/fix-wrong-broadcast.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/664165 Title: arping fails to set correct broadcast address (it's not working at all) -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
