Permalink
Browse files

Skip tunnel network devices in Linux.

  • Loading branch information...
1 parent ae082bc commit e42701254bfd0a456e01e82cc78ac1214ea11dad @tomas tomas committed Feb 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 };

0 comments on commit e427012

Please sign in to comment.