wg-installer: rework iproute2 commands
authorNick Hainke <vincent@systemli.org>
Sun, 16 Jan 2022 09:04:36 +0000 (10:04 +0100)
committerNick Hainke <vincent@systemli.org>
Mon, 17 Jan 2022 08:42:06 +0000 (09:42 +0100)
commit8c3ce87fd2f177ad1704a953d7bb836d48f0b18c
tree206c9e786e0b71495947892effb9525f739c36de
parentbb09bc37b25ef94d06b550924c2fbeacf5863fcc
wg-installer: rework iproute2 commands

- Use ip address add instead of ip a a
- Directly add broadcast address

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit fea27cec05c0d76d3bb6aad1b4bfd53270c1c263)
net/wg-installer/wg-server/lib/wg_functions.sh