aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/wg-quick/darwin.bash4
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
}