1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 00:38:10 +00:00

Display path of vnetlib during interface creations

Ref https://github.com/GNS3/gns3-gui/issues/1648
This commit is contained in:
Julien Duponchelle 2016-11-11 14:26:09 +01:00
parent c5ef6b310d
commit 3bb4f6f133
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -150,6 +150,8 @@ def vmnet_windows(args, vmnet_range_start, vmnet_range_end):
if not shell.IsUserAnAdmin():
raise SystemExit("You must run this script as an administrator")
print("Using ", vnetlib_path, " for controlling vmnet")
if args.list:
raise SystemExit("Not implemented")
@ -171,6 +173,7 @@ def vmnet_windows(args, vmnet_range_start, vmnet_range_end):
os.system("net stop npcap")
os.system("net start npcap")
def vmnet_unix(args, vmnet_range_start, vmnet_range_end):
"""
Implementation on Linux and Mac OS X.