aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-02-18 21:54:34 +0000
committerBill Nottingham <notting@redhat.com>2005-02-18 21:54:34 +0000
commit2e8d2c5bf2601ca5468036dc61a8b3c69b960eb3 (patch)
tree9f55d93a87ce330d64607c6a30fcd3b70f6fde25 /sysconfig/network-scripts
parenta2feb4c07c446e1c3b5619fcb8ab56847ef31ae4 (diff)
downloadinitscripts-2e8d2c5bf2601ca5468036dc61a8b3c69b960eb3.tar
initscripts-2e8d2c5bf2601ca5468036dc61a8b3c69b960eb3.tar.gz
initscripts-2e8d2c5bf2601ca5468036dc61a8b3c69b960eb3.tar.bz2
initscripts-2e8d2c5bf2601ca5468036dc61a8b3c69b960eb3.tar.xz
initscripts-2e8d2c5bf2601ca5468036dc61a8b3c69b960eb3.zip
more ipsec stuff (#147001, <ckjohnson@gwi.net>)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ipsec2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifdown-ipsec b/sysconfig/network-scripts/ifdown-ipsec
index cbc8e2df..37785642 100755
--- a/sysconfig/network-scripts/ifdown-ipsec
+++ b/sysconfig/network-scripts/ifdown-ipsec
@@ -57,6 +57,7 @@ if [ "$MODE" = "host" ]; then
setkey -c << EOF
spddelete $SRC $DST any -P out;
spddelete $DST $SRC any -P in;
+ spddelete $DST $SRC any -P fwd;
EOF
else
[ -z "$SRCNET" ] && SRCNET="$SRC/32"
@@ -67,6 +68,7 @@ else
/sbin/setkey -c >/dev/null 2>&1 << EOF
spddelete $SRCNET $DSTNET any -P out;
spddelete $DSTNET $SRCNET any -P in;
+ spddelete $DSTNET $SRCNET any -P fwd;
EOF
fi