Fix uninitialized variables

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Cosmetic

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Fix for IPv6

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>