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

Contents of /rpms/e-smith-lib/sme10/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:21:22 2017 UTC (7 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-lib-2_6_0-7_el7_sme, e-smith-lib-2_6_0-15_el7_sme, e-smith-lib-2_6_0-13_el7_sme, e-smith-lib-2_6_0-16_el7_sme, e-smith-lib-2_6_0-10_el7_sme, e-smith-lib-2_6_0-17_el7_sme, e-smith-lib-2_6_0-11_el7_sme, e-smith-lib-2_6_0-14_el7_sme, e-smith-lib-2_6_0-8_el7_sme, e-smith-lib-2_6_0-9_el7_sme, e-smith-lib-2_6_0-12_el7_sme, HEAD
* Mon Oct 23 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme
- Skip tap_soft interfaces (eg SoftEther, code from Hsing-Foo Wang)
  [SME: 10445]

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