diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-06-02 02:21:16 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-06-02 02:21:16 +0000 |
commit | e0845df5d28ebc1768f666bff54c368202b53acd (patch) | |
tree | f6a43681c877bb63decf3cef410c96682b14940c /libexec/rpc.rstatd/rstatd.c | |
parent | 83b01231eec8a852940ff584a756d803dfa2c65e (diff) |
IPv6 support.
From NetBSD
ok millert@
Diffstat (limited to 'libexec/rpc.rstatd/rstatd.c')
-rw-r--r-- | libexec/rpc.rstatd/rstatd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.rstatd/rstatd.c b/libexec/rpc.rstatd/rstatd.c index d9a8fd3b998..1af267a33ac 100644 --- a/libexec/rpc.rstatd/rstatd.c +++ b/libexec/rpc.rstatd/rstatd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rstatd.c,v 1.17 2004/01/07 21:12:24 millert Exp $ */ +/* $OpenBSD: rstatd.c,v 1.18 2004/06/02 02:21:15 brad Exp $ */ /*- * Copyright (c) 1993, John Brezak @@ -29,7 +29,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: rstatd.c,v 1.17 2004/01/07 21:12:24 millert Exp $"; +static char rcsid[] = "$OpenBSD: rstatd.c,v 1.18 2004/06/02 02:21:15 brad Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -71,7 +71,7 @@ main(int argc, char *argv[]) int sock = 0, proto = 0; socklen_t fromlen; struct passwd *pw; - struct sockaddr_in from; + struct sockaddr_storage from; SVCXPRT *transp; openlog("rpc.rstatd", LOG_NDELAY|LOG_CONS|LOG_PID, LOG_DAEMON); |