/[smeserver]/rpms/e-smith-lib/sme9/e-smith-lib-2.6.0-skip_tap_soft_nic.patch
ViewVC logotype

Contents of /rpms/e-smith-lib/sme9/e-smith-lib-2.6.0-skip_tap_soft_nic.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Oct 23 07:30:28 2017 UTC (7 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-lib-2_4_0-17_el6_sme, e-smith-lib-2_4_0-18_el6_sme, HEAD
* Mon Oct 23 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme
- Skip tap_soft interfaces (eg SoftEther, code from Hsing-Foo Wang)
  [SME: 10444]

1 diff -Nur e-smith-lib-2.6.0/root/usr/share/perl5/vendor_perl/esmith/ethernet.pm e-smith-lib-2.6.0_bz10445/root/usr/share/perl5/vendor_perl/esmith/ethernet.pm
2 --- e-smith-lib-2.6.0/root/usr/share/perl5/vendor_perl/esmith/ethernet.pm 2016-02-05 23:44:11.000000000 +0100
3 +++ e-smith-lib-2.6.0_bz10445/root/usr/share/perl5/vendor_perl/esmith/ethernet.pm 2017-10-23 09:13:54.829348469 +0200
4 @@ -63,6 +63,8 @@
5 -d "/sys/class/net/$nic/bonding" ||
6 # skip tun/tap
7 -f "/sys/class/net/$nic/tun_flags" ||
8 + # skip tap_soft (Eg SoftEther)
9 + -d "/sys/class/net/$nic/tap_soft" ||
10 # skip dummy
11 -d "/sys/devices/virtual/net/$nic"
12 );

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed