summaryrefslogtreecommitdiffstats
path: root/usr.sbin/map-mbone
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-06-02 19:06:39 +0000
committerderaadt <deraadt@openbsd.org>2002-06-02 19:06:39 +0000
commit0085026ed629cac855f7092c446584d9ad0e696c (patch)
tree7a0c5001ffbbc45705bfba6a4e0a65639dc88e4a /usr.sbin/map-mbone
parentSkeleton driver for the NetOctave NSP2000 (only supports RNG at the moment) (diff)
downloadwireguard-openbsd-0085026ed629cac855f7092c446584d9ad0e696c.tar.xz
wireguard-openbsd-0085026ed629cac855f7092c446584d9ad0e696c.zip
missing sockaddr inits; ok itojun
Diffstat (limited to 'usr.sbin/map-mbone')
-rw-r--r--usr.sbin/map-mbone/mapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/map-mbone/mapper.c b/usr.sbin/map-mbone/mapper.c
index 0f08a23f9dc..930284698c9 100644
--- a/usr.sbin/map-mbone/mapper.c
+++ b/usr.sbin/map-mbone/mapper.c
@@ -903,6 +903,7 @@ int main(argc, argv)
struct sockaddr_in addr;
int addrlen = sizeof(addr);
+ memset(&addr, 0, sizeof addr);
addr.sin_family = AF_INET;
#if (defined(BSD) && (BSD >= 199103))
addr.sin_len = sizeof addr;