From 7d778b51c95c3090503779aa82a32c7b1fb50137 Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 3 Feb 2007 03:57:35 +0000 Subject: [PATCH] Just fixing a couple typos in comments in scan_engine.cc --- scan_engine.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scan_engine.cc b/scan_engine.cc index 4e49ec81d..9a50aa83e 100644 --- a/scan_engine.cc +++ b/scan_engine.cc @@ -3073,7 +3073,7 @@ static bool get_pcap_result(UltraScanInfo *USI, struct timeval *stime) { newstate = PORT_FILTERED; break; case 9: /* dest. net admin prohibited */ - case 10: /* detst host admin prohibited */ + case 10: /* dest host admin prohibited */ case 13: /* communication admin. prohibited */ newstate = PORT_FILTERED; break; @@ -3140,7 +3140,7 @@ static bool get_pcap_result(UltraScanInfo *USI, struct timeval *stime) { ultrascan_port_probe_update(USI, hss, probeI, newstate, &rcvdtime); } - /* If prooicmphack is true, we are doing an IP proto scan and + /* If protoicmphack is true, we are doing an IP proto scan and discovered that ICMP is open. This has to be done separately because an ICMP response ALSO frequently shows that some other protocol is closed/filtered. So we let that other protocol stuff