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

Contents of /rpms/smeserver-bridge-interface/contribs7/smeserver-bridge-interface-0.1-bridge_promisc.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 (12 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-bridge-interface-0_1-6_el4_sme, HEAD
Error occurred while calculating annotation data.
* 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:40:39.294812206 +0200
3 +++ smeserver-bridge-interface-0.1_mod/root/etc/rc.d/init.d/bridge 2012-06-19 21:41:52.659917740 +0200
4 @@ -8,6 +8,7 @@
5
6 # Bridge Interface
7 BRIDGE_IF=$(/sbin/e-smith/db configuration getprop bridge bridgeInterface)
8 +BRIDGE_PROMISC=$(/sbin/e-smith/db configuration getprop bridge Promiscuous)
9
10 # Define list of TAP interfaces to be bridged,
11 # for example tap="tap0 tap1 tap2".
12 @@ -96,6 +97,8 @@
13
14 [ -n "$ETH_MAC" ] && /sbin/ifconfig $BRIDGE_IF hw ether $ETH_MAC
15
16 + [ "$BRIDGE_PROMISC" == "yes" ] && /sbin/ifconfig $BRIDGE_IF promisc
17 +
18 # Now configure the LocalIP on the bridge interface
19 /sbin/e-smith/db configuration setprop InternalInterface Name $BRIDGE_IF
20 /sbin/ifconfig $BRIDGE_IF $ETH_IP netmask $ETH_MASK >/dev/null 2>&1

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