]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.ip-tunnel
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / functions / functions.ip-tunnel
index 342be3c3e3587e0b3ddef50f566182d2a1466aaa..36881f2824b5b713592f75b92d7214d8a6787b76 100644 (file)
@@ -21,7 +21,7 @@
 
 IP_TUNNEL_MODES="sit"
 
-function ip_tunnel_add() {
+ip_tunnel_add() {
        local device=${1}
        shift
 
@@ -78,7 +78,7 @@ function ip_tunnel_add() {
        assert [ $? -eq 0 ]
 }
 
-function ip_tunnel_del() {
+ip_tunnel_del() {
        local device=${1}
        assert device_exists ${device}
 
@@ -91,7 +91,7 @@ function ip_tunnel_del() {
        assert [ $? -eq 0 ]
 }
 
-function ip_tunnel_6rd_set_prefix() {
+ip_tunnel_6rd_set_prefix() {
        local device="${1}"
        assert isset device