projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714b51c
)
wg-installer: fix typo in cleanup function
author
Nick Hainke
<vincent@systemli.org>
Sun, 9 Jan 2022 12:13:47 +0000
(13:13 +0100)
committer
Nick Hainke
<vincent@systemli.org>
Sun, 9 Jan 2022 12:33:03 +0000
(13:33 +0100)
The delete variable was misspelled leading to devices always being
removed although they had connected neighbors.
Signed-off-by: Nick Hainke <vincent@systemli.org>
net/wg-installer/common/wg.sh
patch
|
blob
|
history
diff --git
a/net/wg-installer/common/wg.sh
b/net/wg-installer/common/wg.sh
index 6a9ac9c65a896fea899919e8b89a7ff76d4992b4..c6d02d92c773c61faa36cbd7f7f35b8c1173967d 100644
(file)
--- a/
net/wg-installer/common/wg.sh
+++ b/
net/wg-installer/common/wg.sh
@@
-32,7
+32,7
@@
check_wg_neighbors() {
delete=1
for ip in $ips; do
if [ $ip != $linklocal ] && [ $(owipcalc $ip linklocal) -eq 1 ]; then
- delte=0
+ del
e
te=0
break
fi
done