Revision e46de62a tools/net-common.in
b/tools/net-common.in | ||
---|---|---|
50 | 50 |
if [ "$MODE" = "bridged" ]; then |
51 | 51 |
fix_mac |
52 | 52 |
ip link set $INTERFACE up |
53 |
ip link set $INTERFACE mtu $(</sys/class/net/${BRIDGE}/mtu)
|
|
53 |
ip link set $INTERFACE mtu $(</sys/class/net/${LINK}/mtu)
|
|
54 | 54 |
|
55 | 55 |
# Connect the interface to the bridge |
56 |
brctl addif $BRIDGE $INTERFACE
|
|
56 |
brctl addif $LINK $INTERFACE
|
|
57 | 57 |
fi |
58 | 58 |
|
59 | 59 |
} |
Also available in: Unified diff