Ignore Wireguard interfaces

The Wireguard interfaces should not be managed by Glean as they
are usually configured manually (and they are mainly tunnel
interfaces).

They do present themselves with a permanent address however, which
means the only way to ignore them is by using the ignored list.

Change-Id: Ie0c2b56d78620f6ee562b42de6249b1efd37558e
This commit is contained in:
Mohammed Naser 2019-04-10 21:06:36 -04:00
parent a1e08e508f
commit 64718a1da3
1 changed files with 1 additions and 1 deletions

View File

@ -1179,7 +1179,7 @@ def get_sys_interfaces(interface, args):
log.debug("Probing system interfaces")
sys_root = os.path.join(args.root, 'sys/class/net')
ignored_interfaces = ('sit', 'tunl', 'bonding_master', 'teql',
ignored_interfaces = ('sit', 'tunl', 'bonding_master', 'teql', 'wg',
'ip6gre', 'ip6_vti', 'ip6tnl', 'bond', 'lo')
sys_interfaces = {}
if interface is not None: