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>
Sun, 16 Jan 2022 09:39:19 +0000 (10:39 +0100)
commitfea27cec05c0d76d3bb6aad1b4bfd53270c1c263
treecaf38ced4dfda54d7bc7e4dd5e0dffeeac3d461f
parentb4694bb82cb540fd727a44b71d1cd0b6592a67a6
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>
net/wg-installer/wg-server/lib/wg_functions.sh