summaryrefslogtreecommitdiffstats
path: root/src.etc/network/functions
diff options
context:
space:
mode:
Diffstat (limited to 'src.etc/network/functions')
-rw-r--r--src.etc/network/functions6
1 files changed, 1 insertions, 5 deletions
diff --git a/src.etc/network/functions b/src.etc/network/functions
index b74fb91..e5967b7 100644
--- a/src.etc/network/functions
+++ b/src.etc/network/functions
@@ -10,9 +10,7 @@ fi
get_iface_opts()
{
- local opts_start_cb="${1}"
- local opt_cb="${2}"
- local opts_end_cb="${3}"
+ local opt_cb="${1}"
local script=
local opts=
local opt=
@@ -29,13 +27,11 @@ get_iface_opts()
return 0
fi
- ${opts_start_cb}
while read -r opt; do
${opt_cb} ${opt}
done <<-EOF
${opts}
EOF
- ${opts_end_cb}
return 0
}