summaryrefslogtreecommitdiff
path: root/canohost.c
diff options
context:
space:
mode:
authordjm <djm>2005-11-05 04:13:24 +0000
committerdjm <djm>2005-11-05 04:13:24 +0000
commit3eb781c52e8d4273230313ec0dca3ca150364e5a (patch)
treedf62b4792bab817be02dfa83f436e6ca561d9a54 /canohost.c
parent73fda615fd60b9dd7be341e937e00d8a3e23714d (diff)
downloadopenssh-3eb781c52e8d4273230313ec0dca3ca150364e5a.tar.gz
- dtucker@cvs.openbsd.org 2005/10/30 08:29:29
[canohost.c sshd.c] Check for connections with IP options earlier and drop silently. ok djm@
Diffstat (limited to 'canohost.c')
-rw-r--r--canohost.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/canohost.c b/canohost.c
index 0c4d36ff..66867c10 100644
--- a/canohost.c
+++ b/canohost.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: canohost.c,v 1.45 2005/10/03 07:44:42 dtucker Exp $");
+RCSID("$OpenBSD: canohost.c,v 1.46 2005/10/30 08:29:29 dtucker Exp $");
#include "packet.h"
#include "xmalloc.h"
@@ -158,9 +158,7 @@ check_ip_options(int sock, char *ipaddr)
for (i = 0; i < option_size; i++)
snprintf(text + i*3, sizeof(text) - i*3,
" %2.2x", options[i]);
- logit("Connection from %.100s with IP options:%.800s",
- ipaddr, text);
- packet_disconnect("Connection from %.100s with IP options:%.800s",
+ fatal("Connection from %.100s with IP options:%.800s",
ipaddr, text);
}
#endif /* IP_OPTIONS */