/[smecontribs]/rpms/smeserver-bridge-interface/contribs7/smeserver-bridge-interface-0.1-sleep_after_ifconfig_eth.patch
ViewVC logotype

Contents of /rpms/smeserver-bridge-interface/contribs7/smeserver-bridge-interface-0.1-sleep_after_ifconfig_eth.patch

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


Revision 1.1 - (show annotations) (download)
Tue Jun 19 19:44:49 2012 UTC (11 years, 10 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-bridge-interface-0_1-6_el4_sme, HEAD
* Tue Jun 19 2012 Daniel B. <daniel@firewall-services.com> - 0.1-6.sme
- Wait after physical interface config
  (fix a random bug in serveronly mode)
- Ensure the bridge takes the MAC address of the physical interface
- Optionally set the bridge interface in promiscuous mode

1 diff -Nur smeserver-bridge-interface-0.1/root/etc/rc.d/init.d/bridge smeserver-bridge-interface-0.1_mod/root/etc/rc.d/init.d/bridge
2 --- smeserver-bridge-interface-0.1/root/etc/rc.d/init.d/bridge 2012-06-19 21:18:12.938021896 +0200
3 +++ smeserver-bridge-interface-0.1_mod/root/etc/rc.d/init.d/bridge 2012-06-19 21:23:42.327526405 +0200
4 @@ -88,6 +88,7 @@
5
6 # Now make the real ethernet interface promiscuous
7 /sbin/ifconfig $ETH_IF 0.0.0.0 promisc up >/dev/null 2>&1
8 + sleep 1
9
10 # And add it to the bridge
11 /usr/sbin/brctl addif $BRIDGE_IF $ETH_IF >/dev/null 2>&1

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