updown: Install forwarding rules with the actually used protocol

This commit is contained in:
Martin Willi 2013-10-09 14:48:50 +02:00
parent c5d9b133e0
commit 4817595876
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ then
IPSEC_POLICY_OUT=""
else
KLIPS=
IPSEC_POLICY="-m policy --pol ipsec --proto esp --reqid $PLUTO_REQID"
IPSEC_POLICY="-m policy --pol ipsec --proto $PLUTO_PROTO --reqid $PLUTO_REQID"
IPSEC_POLICY_IN="$IPSEC_POLICY --dir in"
IPSEC_POLICY_OUT="$IPSEC_POLICY --dir out"
fi