summaryrefslogtreecommitdiff
path: root/libexec/rpc.sprayd/sprayd.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-06-02 02:21:16 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-06-02 02:21:16 +0000
commite0845df5d28ebc1768f666bff54c368202b53acd (patch)
treef6a43681c877bb63decf3cef410c96682b14940c /libexec/rpc.sprayd/sprayd.c
parent83b01231eec8a852940ff584a756d803dfa2c65e (diff)
IPv6 support.
From NetBSD ok millert@
Diffstat (limited to 'libexec/rpc.sprayd/sprayd.c')
-rw-r--r--libexec/rpc.sprayd/sprayd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.sprayd/sprayd.c b/libexec/rpc.sprayd/sprayd.c
index 6975c001741..8a21a9448c0 100644
--- a/libexec/rpc.sprayd/sprayd.c
+++ b/libexec/rpc.sprayd/sprayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sprayd.c,v 1.8 2003/07/06 21:57:27 deraadt Exp $*/
+/* $OpenBSD: sprayd.c,v 1.9 2004/06/02 02:21:15 brad Exp $*/
/*
* Copyright (c) 1994 Christos Zoulas
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: sprayd.c,v 1.8 2003/07/06 21:57:27 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: sprayd.c,v 1.9 2004/06/02 02:21:15 brad Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
SVCXPRT *transp;
int sock = 0;
int proto = 0;
- struct sockaddr_in from;
+ struct sockaddr_storage from;
socklen_t fromlen;
/*