Commit 42aa8f62 authored by nanahira's avatar nanahira

fix

parent 49fc700b
......@@ -7,7 +7,7 @@ restore_mark() {
OPTION=$1
MARK=$2
OUTPUT_OPTION="$OPTION"
if [[ "$OUTPUT_OPTION" -eq "-I" ]]; then
if [[ "$OUTPUT_OPTION" == "-I" ]]; then
OUTPUT_OPTION="-A"
fi
iptables -t mangle "$OPTION" PREROUTING -m connmark --mark "$MARK" -j CONNMARK --restore-mark
......
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