diff options
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/canohost.c b/canohost.c index 0c4d36ff6..66867c10b 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: canohost.c,v 1.45 2005/10/03 07:44:42 dtucker Exp $"); | 15 | RCSID("$OpenBSD: canohost.c,v 1.46 2005/10/30 08:29:29 dtucker Exp $"); |
16 | 16 | ||
17 | #include "packet.h" | 17 | #include "packet.h" |
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
@@ -158,9 +158,7 @@ check_ip_options(int sock, char *ipaddr) | |||
158 | for (i = 0; i < option_size; i++) | 158 | for (i = 0; i < option_size; i++) |
159 | snprintf(text + i*3, sizeof(text) - i*3, | 159 | snprintf(text + i*3, sizeof(text) - i*3, |
160 | " %2.2x", options[i]); | 160 | " %2.2x", options[i]); |
161 | logit("Connection from %.100s with IP options:%.800s", | 161 | fatal("Connection from %.100s with IP options:%.800s", |
162 | ipaddr, text); | ||
163 | packet_disconnect("Connection from %.100s with IP options:%.800s", | ||
164 | ipaddr, text); | 162 | ipaddr, text); |
165 | } | 163 | } |
166 | #endif /* IP_OPTIONS */ | 164 | #endif /* IP_OPTIONS */ |