summaryrefslogtreecommitdiff
path: root/libexec/rpc.rusersd
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.rusersd
parent83b01231eec8a852940ff584a756d803dfa2c65e (diff)
IPv6 support.
From NetBSD ok millert@
Diffstat (limited to 'libexec/rpc.rusersd')
-rw-r--r--libexec/rpc.rusersd/rusersd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.rusersd/rusersd.c b/libexec/rpc.rusersd/rusersd.c
index 41a7adfa958..20c496ba826 100644
--- a/libexec/rpc.rusersd/rusersd.c
+++ b/libexec/rpc.rusersd/rusersd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rusersd.c,v 1.13 2003/07/05 17:02:37 deraadt Exp $ */
+/* $OpenBSD: rusersd.c,v 1.14 2004/06/02 02:21:15 brad Exp $ */
/*-
* Copyright (c) 1993 John Brezak
@@ -29,7 +29,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: rusersd.c,v 1.13 2003/07/05 17:02:37 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: rusersd.c,v 1.14 2004/06/02 02:21:15 brad Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -66,7 +66,7 @@ main(int argc, char *argv[])
{
int sock = 0, proto = 0;
socklen_t fromlen;
- struct sockaddr_in from;
+ struct sockaddr_storage from;
struct passwd *pw;
SVCXPRT *transp;