From 87438e342ce96b4321343c69b77ed84b16853785 Mon Sep 17 00:00:00 2001
From: Guus Sliepen <guus@tinc-vpn.org>
Date: Sun, 30 Jul 2017 16:04:49 +0200
Subject: [PATCH] Fix Proxy = exec.

---
 NEWS        | 1 +
 src/proxy.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/NEWS b/NEWS
index 028cc9cd..8ae59e7e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
 Version 1.0.32               not released yet
 
  * Fix segmentation fault when using Cipher = none.
+ * Fix Proxy = exec.
 
 Version 1.0.31               January 15 2017
 
diff --git a/src/proxy.c b/src/proxy.c
index 52682721..f7c2560d 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -174,6 +174,8 @@ bool send_proxyrequest(connection_t *c) {
 	}
 
 	case PROXY_EXEC:
+		c->status.proxy_passed = true;
+		send_id(c);
 		return true;
 
 	default:
-- 
2.39.5