1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00

Use "Host is up.", not "Host appears to be up." to match Nmap output.

This commit is contained in:
david
2009-04-10 19:08:48 +00:00
parent c701b9559b
commit 4c13088d1e

View File

@@ -483,11 +483,11 @@ class HostDiff(object):
# State.
if self.state_changed:
if host_a.state is not None:
print >> f, u"-Host appears to be %s." % host_a.state
print >> f, u"-Host is %s." % host_a.state
if host_b.state is not None:
print >> f, u"+Host appears to be %s." % host_b.state
print >> f, u"+Host is %s." % host_b.state
elif verbose:
print >> f, u" Host appears to be %s." % host_b.state
print >> f, u" Host is %s." % host_b.state
# Extraports.
if self.extraports_changed: