Fix Proxy = exec.
[oweals/tinc.git] / src / proxy.c
index 32cb7973ffcb51e9a928b7f20d62e5d9c44722cb..f7c2560d6d519426cc49d28f8d1e3928bcf24ed1 100644 (file)
@@ -1,6 +1,6 @@
 /*
     proxy.c -- Proxy handling functions.
-    Copyright (C) 2015 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2015-2016 Guus Sliepen <guus@tinc-vpn.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -174,6 +174,8 @@ bool send_proxyrequest(connection_t *c) {
        }
 
        case PROXY_EXEC:
+               c->status.proxy_passed = true;
+               send_id(c);
                return true;
 
        default: