Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skip tunnel network devices in Linux.

  • Loading branch information...
commit e42701254bfd0a456e01e82cc78ac1214ea11dad 1 parent ae082bc
@tomas tomas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/agent/providers/hardware/linux.js
View
2  lib/agent/providers/hardware/linux.js
@@ -96,7 +96,7 @@ exports.get_network_interfaces = function(cb){
for (var key in nics) {
- if (key != 'lo0' && key != 'lo') {
+ if (key != 'lo0' && key != 'lo' && !key.match(/^tun/)) {
count++;
var obj = { name: key };
Please sign in to comment.
Something went wrong with that request. Please try again.