diff options
Diffstat (limited to 'src/lib/network')
-rwxr-xr-x | src/lib/network | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/network b/src/lib/network index a875101..0250c3d 100755 --- a/src/lib/network +++ b/src/lib/network @@ -17,8 +17,7 @@ is_interface() { # $4...: additional arguments interface_add() { local type="$1" name="$2" link="$3" - shift 3 - ip link add ${link:+link "$link"} name "$name" type "$type" "$@" || return + do_debug ip link add ${link:+link "$link"} name "$name" type "$type" "${@:4}" || return if [[ -x "$PROFILE_DIR/interfaces/$name" ]]; then source "$PROFILE_DIR/interfaces/$name" fi |