]> git.ipfire.org Git - thirdparty/strongswan.git/commit
Avoid extensive casting of sockaddr types in socket-default by using a union
authorMartin Willi <martin@revosec.ch>
Wed, 6 Feb 2013 10:45:51 +0000 (11:45 +0100)
committerMartin Willi <martin@revosec.ch>
Wed, 6 Feb 2013 14:20:32 +0000 (15:20 +0100)
commit6c37daaa3b7cc773249cbce6efeca1c4cc56220c
tree7115fd11e2811b611de293339164e3ca335d1621
parent82c884c015ec8d868d3566e03801139cb7492051
Avoid extensive casting of sockaddr types in socket-default by using a union

Additionally fixes a strict-aliasing rule compiler warning with older gcc.
src/libcharon/plugins/socket_default/socket_default_socket.c