Commit 8d6af86a authored by nanahira's avatar nanahira

fix

parent dc3b1b7f
......@@ -18,7 +18,7 @@ handle_gateway() {
GATEWAY_MAC=$3
GATEWAY_NEXT_HOP_MARK=$[$GATEWAY_ID + 1100]
ip rule del pref 100 fwmark "$GATEWAY_NEXT_HOP_MARK" lookup "$GATEWAY_NEXT_HOP_MARK"
eth_origin -A "$BRIDGE_NAME" "$GATEWAY_ID" "$GATEWAY_ADDRESS" "$GATEWAY_MAC"
eth_origin -D "$BRIDGE_NAME" "$GATEWAY_ID" "$GATEWAY_ADDRESS" "$GATEWAY_MAC"
}
{% if br.gateways %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment