From 64718a1da3cf79d028493f250a02cd742deb8d63 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 10 Apr 2019 21:06:36 -0400 Subject: [PATCH] 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 --- glean/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glean/cmd.py b/glean/cmd.py index 52b3518..fa40a64 100644 --- a/glean/cmd.py +++ b/glean/cmd.py @@ -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: