From 3bb4f6f13311735c133aa53c347acb563e9ec4c7 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 11 Nov 2016 14:26:09 +0100 Subject: [PATCH] Display path of vnetlib during interface creations Ref https://github.com/GNS3/gns3-gui/issues/1648 --- gns3server/utils/vmnet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gns3server/utils/vmnet.py b/gns3server/utils/vmnet.py index a9be3f1c..7860bff1 100644 --- a/gns3server/utils/vmnet.py +++ b/gns3server/utils/vmnet.py @@ -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.