summaryrefslogtreecommitdiff
path: root/src/etc/ipsec.d/vti-up-down
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-15 11:08:42 +0200
committerGitHub <noreply@github.com>2021-06-15 11:08:42 +0200
commit08f69fc2867218923a3f3878d3bc76ebea09cee2 (patch)
tree1ff04e1e0aba2167b746f2f1373544e3d38b055d /src/etc/ipsec.d/vti-up-down
parent78099bccc510c90ad7cfa5f56475ba024d5d53a7 (diff)
parent11b5636519b360074eb2877006f2d8d63d9f6610 (diff)
downloadvyos-1x-08f69fc2867218923a3f3878d3bc76ebea09cee2.tar.gz
vyos-1x-08f69fc2867218923a3f3878d3bc76ebea09cee2.zip
Merge pull request #881 from sarthurdev/ipsec_swanctl
ipsec: T2816: T645: T3613: Migrated IPsec to swanctl format
Diffstat (limited to 'src/etc/ipsec.d/vti-up-down')
-rwxr-xr-xsrc/etc/ipsec.d/vti-up-down14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/etc/ipsec.d/vti-up-down b/src/etc/ipsec.d/vti-up-down
index 0e1cd7753..2b66dd9e6 100755
--- a/src/etc/ipsec.d/vti-up-down
+++ b/src/etc/ipsec.d/vti-up-down
@@ -1,4 +1,18 @@
#!/usr/bin/env python3
+#
+# Copyright (C) 2021 VyOS maintainers and contributors
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 or later as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
## Script called up strongswan to bring the vti interface up/down based on the state of the IPSec tunnel.
## Called as vti_up_down vti_intf_name