]> git.ipfire.org Git - people/ms/network.git/commitdiff
ipsec: Let the updown script handle all events
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Aug 2017 14:48:52 +0000 (14:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Aug 2017 14:48:52 +0000 (14:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/helpers/ipsec-updown

index a2430ee008a48cf208b2f16a2a2200f53ff74206..eb5fc210062feb09830666c140d7a0e91bc7a0eb 100644 (file)
@@ -42,7 +42,7 @@ fi
 log DEBUG "${0} called for ${CONNECTION}: ${PLUTO_VERB}"
 
 case "${PLUTO_VERB}" in
-       up-client)
+       up-client|up-client-v6|up-host|up-host-v6)
                case "${MODE}" in
                        gre-*)
                                if ! device_exists "${INTERFACE}"; then
@@ -76,7 +76,7 @@ case "${PLUTO_VERB}" in
                esac
                ;;
 
-       down-client)
+       down-client|down-client-v6|down-host|down-host-v6)
                case "${MODE}" in
                        vti)
                                if device_exists "${INTERFACE}"; then