summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/connections/bridge7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/connections/bridge b/src/connections/bridge
index 0e44f40..3cf60c1 100644
--- a/src/connections/bridge
+++ b/src/connections/bridge
@@ -20,6 +20,13 @@ bridge_up() {
ip addr flush dev $bridge_client
$BRCTL addif $INTERFACE $bridge_client
done
+ # Set options
+ if [ -n "$FWD_DELAY" ]; then
+ $BRCTL setfd $INTERFACE "$FWD_DELAY"
+ fi
+ if [ -n "$MAX_AGE" ]; then
+ $BRCTL setmaxage $INTERFACE "$MAX_AGE"
+ fi
bring_interface up "$INTERFACE"
"$CONN_DIR/ethernet" up "$1"