diff options
Diffstat (limited to '')
-rwxr-xr-x | src/tools/wg-quick/darwin.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/wg-quick/darwin.bash b/src/tools/wg-quick/darwin.bash index 18b92ea..81139e6 100755 --- a/src/tools/wg-quick/darwin.bash +++ b/src/tools/wg-quick/darwin.bash @@ -148,9 +148,9 @@ up_if() { add_addr() { if [[ $1 == *:* ]]; then - cmd ifconfig "$REAL_INTERFACE" inet6 "$1" + cmd ifconfig "$REAL_INTERFACE" inet6 "$1" alias else - cmd ifconfig "$REAL_INTERFACE" inet "$1" "${1%%/*}" + cmd ifconfig "$REAL_INTERFACE" inet "$1" "${1%%/*}" alias fi } |