netdev-linux: Fix aliasing error.
authorBen Pfaff <blp@nicira.com>
Tue, 15 Dec 2009 06:59:55 +0000 (22:59 -0800)
committerJustin Pettit <jpettit@nicira.com>
Tue, 15 Dec 2009 06:59:55 +0000 (22:59 -0800)
commitc100e025e2ca1bc330512e003bac8359ee65318d
tree60e5c672ac96788d1fe33430e65974ed2735e72d
parentc39c2868e050922b440fdc9f0ef28b5e2e36fefb
netdev-linux: Fix aliasing error.

The latest version of GCC flags a common socket convention as breaking
strict-aliasing rules.  This commit removes the aliasing and gets rid of
the scary warning.
lib/netdev-linux.c