Commit 1ab97b72 authored by 神楽坂玲奈's avatar 神楽坂玲奈

ok

parent 8abe6606
......@@ -19,7 +19,7 @@ if [ -z "${gateway}" ] || [ -z "${next_hop}" ]; then
fi
if [ "${gateway}" = "${RAILGUN_ID}" ]; then
echo ip route add $1 via ${RAILGUN_GATEWAY}
ip route add $1 via ${RAILGUN_GATEWAY}
else
echo 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
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