wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* PostDown 0.0.20191127
@ 2019-11-28 12:27 Thomas Sattler
  2019-11-28 12:51 ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Sattler @ 2019-11-28 12:27 UTC (permalink / raw)
  To: WireGuard mailing list

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]

Hi there ...

in 0.0.20191127 PostDown invocation can fail
as remove_iptables() can return non-zero. A
patch is attached.

Thomas

[-- Attachment #2: wg-quick.20191127-fix.patch --]
[-- Type: text/x-patch, Size: 285 bytes --]

--- /usr/bin/wg-quick.vanilla	2019-11-28 13:23:36.898460985 +0100
+++ /usr/bin/wg-quick	2019-11-28 13:19:59.402907478 +0100
@@ -192,6 +192,7 @@
 		done < <($iptables-save)
 		[[ $found -eq 1 ]] && echo "$restore" | cmd $iptables-restore -nw
 	done
+	return 0
 }
 
 HAVE_SET_IPTABLES=0

[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-28 17:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28 12:27 PostDown 0.0.20191127 Thomas Sattler
2019-11-28 12:51 ` Jason A. Donenfeld
2019-11-28 13:07   ` Nico Schottelius
2019-11-28 13:32   ` Thomas Sattler
2019-11-28 17:14     ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).