diff options
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 | /* |