wg-quick: freebsd: do not assume point-to-point interface flag
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
a43f0b634e
commit
163cef8b90
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ add_addr() {
|
|||
if [[ $1 == *:* ]]; then
|
||||
cmd ifconfig "$INTERFACE" inet6 "$1" alias
|
||||
else
|
||||
cmd ifconfig "$INTERFACE" inet "$1" "${1%%/*}" alias
|
||||
cmd ifconfig "$INTERFACE" inet "$1" alias
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue