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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user