~ubuntu-branches/ubuntu/edgy/net-tools/edgy

Viewing all changes in revision 6.

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2006-03-01 09:17:20 UTC
  • Revision ID: james.westby@ubuntu.com-20060301091720-hasbwqr3nfttf5mv
Tags: 1.60-16ubuntu2
Fix arp command on sparc64 and ia64 (at least):
(thanks to David S. Miller for the patch)

Rationale:

struct sockaddr is not aligned enough to be accessed as
a sockaddr_in, so use "struct sockaddr_storage" which gives
us the correct alignment.

Tested on i386/ppc/hppa/sparc/ia64.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: