When dumping the contents of a struct sockaddr with an unknown address
authorChris Pressey <cpressey@dragonflybsd.org>
Wed, 16 Mar 2005 06:08:06 +0000 (06:08 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Wed, 16 Mar 2005 06:08:06 +0000 (06:08 +0000)
commitfd28efc5c677e678caa9c45b0e732cc5ef735954
treeae83bfc84be1c48ffde17827f0caedd9b3853c7f
parent5d153f96d0f9b3668c4644f39f9e26b5bfcd1dc1
When dumping the contents of a struct sockaddr with an unknown address
family, dump individual bytes (u_chars) instead of u_shorts.  This
avoids endianness issues while also simplifying the code.

In-discussion-with: joerg
sbin/route/route.c