summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>1999-11-14 22:30:58 +0000
committermarkus <markus@openbsd.org>1999-11-14 22:30:58 +0000
commit20e2acedc0fc7de3761b4bd79bb9a27362c484c2 (patch)
treec31fceef019246c125619a2311ab499a32065a61
parentavoid extra fd per sshd, from millert@ (diff)
downloadwireguard-openbsd-20e2acedc0fc7de3761b4bd79bb9a27362c484c2.tar.xz
wireguard-openbsd-20e2acedc0fc7de3761b4bd79bb9a27362c484c2.zip
fix comment: we _do_ disconnect if ip-options are set
-rw-r--r--usr.bin/ssh/canohost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/canohost.c b/usr.bin/ssh/canohost.c
index 0812bd196ef..b7e60e0814e 100644
--- a/usr.bin/ssh/canohost.c
+++ b/usr.bin/ssh/canohost.c
@@ -14,7 +14,7 @@ Functions for returning the canonical host name of the remote site.
*/
#include "includes.h"
-RCSID("$Id: canohost.c,v 1.3 1999/09/30 05:53:04 deraadt Exp $");
+RCSID("$Id: canohost.c,v 1.4 1999/11/14 22:30:58 markus Exp $");
#include "packet.h"
#include "xmalloc.h"
@@ -99,7 +99,7 @@ char *get_remote_hostname(int socket)
check_ip_options:
- /* If IP options are supported, make sure there are none (log and clear
+ /* If IP options are supported, make sure there are none (log and disconnect
them if any are found). Basically we are worried about source routing;
it can be used to pretend you are somebody (ip-address) you are not.
That itself may be "almost acceptable" under certain circumstances,