diff --git a/src/main.c b/src/main.c index d7e6925ef6b492f55ef889997b6dd0dcfcab0c20..16b8ccc804ad29c0991df15c16ac24df05582754 100644 --- a/src/main.c +++ b/src/main.c @@ -1059,10 +1059,11 @@ main_scan(struct Masscan *masscan) */ if (masscan->script.name) { unsigned i; + unsigned is_error; script = script_lookup(masscan->script.name); /* If no ports specified on command-line, grab default ports */ - unsigned is_error = 0; + is_error = 0; if (rangelist_count(&masscan->ports) == 0) rangelist_parse_ports(&masscan->ports, script->ports, &is_error); diff --git a/src/proto-tcp.c b/src/proto-tcp.c index 0bd41263ddd44093f4f41babf18f761b1cfc4823..c2e6cf7d8191071c19d49c276e7d4e25189babaa 100644 --- a/src/proto-tcp.c +++ b/src/proto-tcp.c @@ -720,7 +720,7 @@ tcpcon_send_packet( if (ctrl & CTRL_SMALL_WINDOW) { tcp_set_window(response->px, response->length, 600); } - tcp_set_window(response->px, response->length, 600); + //tcp_set_window(response->px, response->length, 600); /* If we have payload, then: * 1. remember the payload so we can resend it