Commit 2a2cd833 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

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