mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Use "Host is up.", not "Host appears to be up." to match Nmap output.
This commit is contained in:
parent
c701b9559b
commit
4c13088d1e
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue