redmine

bridge forward delay = 0

Showing 1 changed file with 3 additions and 0 deletions
@@ -150,6 +150,8 @@ esac @@ -150,6 +150,8 @@ esac
150 150
151 IPW_CONFIG_PATH="${IPW_CONFIG_PATH:-/etc/ipw.conf}" 151 IPW_CONFIG_PATH="${IPW_CONFIG_PATH:-/etc/ipw.conf}"
152 152
  153 +BRIDGE_FORWARD_DELAY=0
  154 +
153 source "$IPW_CONFIG_PATH" 155 source "$IPW_CONFIG_PATH"
154 156
155 NEWCONFIG_TMPPATH="/tmp/.~ipw" 157 NEWCONFIG_TMPPATH="/tmp/.~ipw"
@@ -539,6 +541,7 @@ case "$CMD" in @@ -539,6 +541,7 @@ case "$CMD" in
539 541
540 if ! iface_isexists "$BRNAME"; then #do this bridge exists? 542 if ! iface_isexists "$BRNAME"; then #do this bridge exists?
541 ip link add "$BRNAME" type bridge 543 ip link add "$BRNAME" type bridge
  544 + echo "$BRIDGE_FORWARD_DELAY" > /sys/devices/virtual/net/"$BRNAME"/bridge/forward_delay
542 ip link set dev "$BRNAME" up 545 ip link set dev "$BRNAME" up
543 fi 546 fi
544 547