mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-13 20:08:55 +00:00
Display path of vnetlib during interface creations
Ref https://github.com/GNS3/gns3-gui/issues/1648
This commit is contained in:
parent
c5ef6b310d
commit
3bb4f6f133
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user