diff options
author | Gleydson Soares <gsoares@cvs.openbsd.org> | 2012-05-01 04:23:22 +0000 |
---|---|---|
committer | Gleydson Soares <gsoares@cvs.openbsd.org> | 2012-05-01 04:23:22 +0000 |
commit | c857126767e7c723f236a643ac2166ea71fbb530 (patch) | |
tree | c5d15e587540e72973b3951e1b7cf80e6d87a7cc /usr.bin/tftp/tftpsubs.c | |
parent | 6fb575d2c3daf3def4e179b9795f497c735d9340 (diff) |
IPv6 support; mostly a sync with netbsd code done by itojun@
tweaks/OK henning@ sthen@ jmc@ jasper@
feedback/tests weerd@ brad@ (thanks)
Diffstat (limited to 'usr.bin/tftp/tftpsubs.c')
-rw-r--r-- | usr.bin/tftp/tftpsubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tftp/tftpsubs.c b/usr.bin/tftp/tftpsubs.c index 9cc615efdcb..85c2e372849 100644 --- a/usr.bin/tftp/tftpsubs.c +++ b/usr.bin/tftp/tftpsubs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpsubs.c,v 1.14 2009/10/27 23:59:44 deraadt Exp $ */ +/* $OpenBSD: tftpsubs.c,v 1.15 2012/05/01 04:23:21 gsoares Exp $ */ /* $NetBSD: tftpsubs.c,v 1.3 1994/12/08 09:51:31 jtc Exp $ */ /* @@ -258,7 +258,7 @@ synchnet(int f) { int i, j = 0; char rbuf[SEGSIZE_MIN]; - struct sockaddr_in from; + struct sockaddr_storage from; socklen_t fromlen; for (;;) { |