1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 08:41:34 +00:00

comment fix

This commit is contained in:
kris
2010-05-04 04:32:12 +00:00
parent ec24af9020
commit 0cf74cdfdd

View File

@@ -2644,8 +2644,8 @@ static bool ultrascan_port_pspec_update(UltraScanInfo *USI,
/* printf("TCP port %hu has changed from state %s to %s!\n", portno, statenum2str(oldstate), statenum2str(newstate)); */ /* printf("TCP port %hu has changed from state %s to %s!\n", portno, statenum2str(oldstate), statenum2str(newstate)); */
switch(oldstate) { switch(oldstate) {
/* TODO: I need more code here to determine when a state should /* TODO: I need more code here to determine when a state should
be overridden, for example PORT_OPEN trumps PORT_FIREWALLED be overridden, for example PORT_OPEN trumps PORT_FILTERED
in a SYN scan, but not neccessarily for UDP scan */ in a SYN scan, but not necessarily for UDP scan */
case PORT_TESTING: case PORT_TESTING:
/* Brand new port -- add it to the list */ /* Brand new port -- add it to the list */
hss->target->ports.setPortState(portno, proto, newstate); hss->target->ports.setPortState(portno, proto, newstate);