The below patch removes an unnecessary call to unset_dns. It is already
called in del_if and causes an error message since the interface does
not exist anymore when called here.
Regards, Arjen
diff --git a/src/tools/wg-quick/linux.bash
b/src/tools/wg-quick/linux.bash
index e690944..d2c7753 100755
--- a/src/tools/wg-quick/linux.bash
+++ b/src/tools/wg-quick/linux.bash
@@ -300,7 +300,6 @@ cmd_down() {
execute_hooks "${PRE_DOWN[@]}"
[[ $SAVE_CONFIG -eq 0 ]] || save_config
del_if
- unset_dns
execute_hooks "${POST_DOWN[@]}"
}
_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard