diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | canohost.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20030807 | 1 | 20030807 |
2 | - (dtucker) [session.c] Have session_break_req not attempt to send a break | 2 | - (dtucker) [session.c] Have session_break_req not attempt to send a break |
3 | if TIOCSBRK and TIOCCBRK are not defined (eg Cygwin). | 3 | if TIOCSBRK and TIOCCBRK are not defined (eg Cygwin). |
4 | - (dtucker) [canohost.c] Bug #336: Only check ip options if IP_OPTIONS is | ||
5 | defined (eg really old Linux). | ||
4 | 6 | ||
5 | 20030802 | 7 | 20030802 |
6 | - (dtucker) [monitor.h monitor_wrap.h] Remove excess ident tags. | 8 | - (dtucker) [monitor.h monitor_wrap.h] Remove excess ident tags. |
@@ -789,4 +791,4 @@ | |||
789 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 791 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
790 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 792 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
791 | 793 | ||
792 | $Id: ChangeLog,v 1.2880 2003/08/07 03:24:24 dtucker Exp $ | 794 | $Id: ChangeLog,v 1.2881 2003/08/07 03:29:04 dtucker Exp $ |
diff --git a/canohost.c b/canohost.c index 533f2c24a..438175f76 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -159,6 +159,7 @@ get_remote_hostname(int socket, int use_dns) | |||
159 | static void | 159 | static void |
160 | check_ip_options(int socket, char *ipaddr) | 160 | check_ip_options(int socket, char *ipaddr) |
161 | { | 161 | { |
162 | #ifdef IP_OPTIONS | ||
162 | u_char options[200]; | 163 | u_char options[200]; |
163 | char text[sizeof(options) * 3 + 1]; | 164 | char text[sizeof(options) * 3 + 1]; |
164 | socklen_t option_size; | 165 | socklen_t option_size; |
@@ -181,6 +182,7 @@ check_ip_options(int socket, char *ipaddr) | |||
181 | packet_disconnect("Connection from %.100s with IP options:%.800s", | 182 | packet_disconnect("Connection from %.100s with IP options:%.800s", |
182 | ipaddr, text); | 183 | ipaddr, text); |
183 | } | 184 | } |
185 | #endif /* IP_OPTIONS */ | ||
184 | } | 186 | } |
185 | 187 | ||
186 | /* | 188 | /* |