mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Don't show a line for the banner if it hasn't changed, for uniformity
with other diffs, as suggested by Fyodor.
This commit is contained in:
parent
bd11ba78c3
commit
a531183086
1 changed files with 1 additions and 1 deletions
|
|
@ -464,7 +464,7 @@ class ScanDiff(object):
|
|||
if banner_a != banner_b:
|
||||
print >> f, u"-%s" % banner_a
|
||||
print >> f, u"+%s" % banner_b
|
||||
else:
|
||||
elif verbose:
|
||||
print >> f, u" %s" % banner_a
|
||||
|
||||
print_script_result_diffs_text("Pre-scan script results",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue