diff options
| author | 1996-06-10 06:31:34 +0000 | |
|---|---|---|
| committer | 1996-06-10 06:31:34 +0000 | |
| commit | 8f6952f54c663a58a43a1ecaa72ba6084798ebf1 (patch) | |
| tree | cc1af0b15059bde7d682b4c146432251aba02ce4 /lib/libc/net/rcmd.c | |
| parent | Use setne instead of setnel, new versions of gas balk at the bad mnemonic. (diff) | |
| download | wireguard-openbsd-8f6952f54c663a58a43a1ecaa72ba6084798ebf1.tar.xz wireguard-openbsd-8f6952f54c663a58a43a1ecaa72ba6084798ebf1.zip | |
iruserok() can finally safely use a u_int32_t for the ip addr
Diffstat (limited to 'lib/libc/net/rcmd.c')
| -rw-r--r-- | lib/libc/net/rcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index 3db3d86400b..b7877635941 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -73,7 +73,7 @@ rcmd(ahost, rport, locuser, remuser, cmd, fd2p) struct hostent *hp; struct sockaddr_in sin, from; fd_set reads; - long oldmask; + int oldmask; pid_t pid; int s, lport, timo; char c; @@ -280,7 +280,7 @@ ruserok(rhost, superuser, ruser, luser) */ int iruserok(raddr, superuser, ruser, luser) - u_long raddr; + u_int32_t raddr; int superuser; const char *ruser, *luser; { |
