summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--honeypot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/honeypot.c b/honeypot.c
index 7b5c768..397bf29 100644
--- a/honeypot.c
+++ b/honeypot.c
@@ -270,7 +270,7 @@ void set_options()
if (telnet_options[option])
send_command(telnet_options[option], option);
}
- for (option = 0; option < sizeof(telnet_options); ++option) {
+ for (option = 0; option < sizeof(telnet_willack); ++option) {
if (telnet_willack[option])
send_command(telnet_willack[option], option);
}