Skip to content

Commit c1cc391

Browse files
authored
Merge pull request sshuttle#537 from skuhl/add-version
Include sshuttle version in verbose output.
2 parents afad317 + 84e43d3 commit c1cc391

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sshuttle/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from sshuttle.helpers import log, debug1, debug2, debug3, Fatal, islocal, \
1818
resolvconf_nameservers
1919
from sshuttle.methods import get_method, Features
20+
from sshuttle import __version__
2021
try:
2122
from pwd import getpwnam
2223
except ImportError:
@@ -581,7 +582,7 @@ def main(listenip_v6, listenip_v4,
581582
except Fatal as e:
582583
log("%s\n" % e)
583584
return 5
584-
debug1('Starting sshuttle proxy.\n')
585+
debug1('Starting sshuttle proxy (version %s).\n' % __version__)
585586

586587
fw = FirewallClient(method_name, sudo_pythonpath)
587588

0 commit comments

Comments
 (0)