diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-10-21 17:04:23 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-10-21 17:04:23 +0000 |
commit | 35de9af3955041a14a7dc51e6522018bc1151fba (patch) | |
tree | 905a7de03f67319c32a40a942e8ae4e8b4b1faff /usr.bin | |
parent | 983628631a206cd5aa0f3f7b07b56d044c17237d (diff) |
typo, eramore@era-t.ericsson.se; ok niels@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/canohost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c index ff8da0e693a..1f4e9ad7c06 100644 --- a/usr.bin/ssh/canohost.c +++ b/usr.bin/ssh/canohost.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: canohost.c,v 1.15 2000/09/07 21:13:37 markus Exp $"); +RCSID("$OpenBSD: canohost.c,v 1.16 2000/10/21 17:04:22 markus Exp $"); #include "packet.h" #include "xmalloc.h" @@ -123,7 +123,7 @@ check_ip_options: else ipproto = IPPROTO_IP; option_size = sizeof(options); - if (getsockopt(0, ipproto, IP_OPTIONS, (char *) options, + if (getsockopt(socket, ipproto, IP_OPTIONS, (char *) options, &option_size) >= 0 && option_size != 0) { cp = text; /* Note: "text" buffer must be at least 3x as big as options. */ |