Browse Source

ifupdown: allow setting the bridge forward delay

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter 14 years ago
parent
commit
6f325a3b2c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/base-files/src/etc/network/if-pre-up.d/03-bridge

+ 1 - 0
package/base-files/src/etc/network/if-pre-up.d/03-bridge

@@ -15,6 +15,7 @@ case "$IF_BRIDGE_PORTS" in
 esac
 esac
 
 
 brctl addbr $IFACE || exit 1
 brctl addbr $IFACE || exit 1
+[[ -n $IF_BRIDGE_FD ]] && brctl setfd $IFACE $IF_BRIDGE_FD
 
 
 for IF in $INTERFACES; do
 for IF in $INTERFACES; do
   if ! grep -q $IF /proc/net/dev; then
   if ! grep -q $IF /proc/net/dev; then