host: Properly initialize struct sockaddr_in[6] when parsing strings
authorTobias Brunner <tobias@strongswan.org>
Tue, 30 Jul 2013 16:44:50 +0000 (18:44 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 Jul 2013 20:16:58 +0000 (22:16 +0200)
commited0efaef4c13ba9b445520f94153e9261e4acd5e
treee200a375ad69b6d400ce68e827c6fde8e7a90518
parentb3393c88c1d1f68540a3084fda0a80377ef3c1fc
host: Properly initialize struct sockaddr_in[6] when parsing strings

Otherwise struct members like sin6_flowinfo or sin6_scope_id might be
set to bogus values.
src/libstrongswan/networking/host.c