Permalink
Browse files

System, Windows: filter devices by NetConnectionID, so we don't get v…

…irtual devices
  • Loading branch information...
1 parent 38b6c87 commit b79b5bb0169ff3d7a6b161fe6474832e6211ddc4 @tomas tomas committed Jun 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 system/platform/windows/functions
  2. +1 −1 system/version
@@ -47,7 +47,7 @@ get_memory_info(){
get_network_interfaces(){
- local nic_list=$(echo "nic list full" | wmic 2> /dev/null | grep "MACAddress=." -A4)
+ local nic_list=$(echo "nic list full" | wmic 2> /dev/null | grep "NetConnectionID=." -B5)
local last_mac=""
local id=0
View
@@ -1 +1 @@
-3.1
+3.2

0 comments on commit b79b5bb

Please sign in to comment.