mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-25 20:11:40 +01:00
Consistent output for compression.
This commit is contained in:
parent
243e4db74f
commit
2747907784
@ -862,7 +862,7 @@ def output(banner, header, kex):
|
|||||||
cmptxt = 'enabled ({0})'.format(', '.join(compressions))
|
cmptxt = 'enabled ({0})'.format(', '.join(compressions))
|
||||||
else:
|
else:
|
||||||
cmptxt = 'disabled'
|
cmptxt = 'disabled'
|
||||||
out.good('(gen) compression is ' + cmptxt)
|
out.good('(gen) compression: {0}'.format(cmptxt))
|
||||||
if len(obuf) > 0:
|
if len(obuf) > 0:
|
||||||
out.head('# general')
|
out.head('# general')
|
||||||
obuf.flush()
|
obuf.flush()
|
||||||
|
Loading…
Reference in New Issue
Block a user