Do not use new "feth" devices for ZT traffic.

This commit is contained in:
Adam Ierymenko 2018-11-11 19:22:07 -08:00
parent b3c2c0866f
commit 15649334a6

View File

@ -2745,6 +2745,7 @@ public:
#endif
#ifdef __APPLE__
if ((ifname[0] == 'f')&&(ifname[1] == 'e')&&(ifname[2] == 't')&&(ifname[3] == 'h')) return false; // ... as is feth#
if ((ifname[0] == 'l')&&(ifname[1] == 'o')) return false; // loopback
if ((ifname[0] == 'z')&&(ifname[1] == 't')) return false; // sanity check: zt#
if ((ifname[0] == 't')&&(ifname[1] == 'u')&&(ifname[2] == 'n')) return false; // tun# is probably an OpenVPN tunnel or similar