Commit 7204102d authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 1ab97b72
...@@ -19,7 +19,7 @@ if [ -z "${gateway}" ] || [ -z "${next_hop}" ]; then ...@@ -19,7 +19,7 @@ if [ -z "${gateway}" ] || [ -z "${next_hop}" ]; then
fi fi
if [ "${gateway}" = "${RAILGUN_ID}" ]; then if [ "${gateway}" = "${RAILGUN_ID}" ]; then
ip route add $1 via ${RAILGUN_GATEWAY} ip route add $1 via ${RAILGUN_GATEWAY} table 101
else else
ip route add $1 dev railgun${next_hop} src ${RAILGUN_ADDRESS} realm ${gateway} advmss 1360 ip route add $1 dev railgun${next_hop} src ${RAILGUN_ADDRESS} realm ${gateway} advmss 1360 table 101
fi fi
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