summaryrefslogtreecommitdiff
path: root/code/proxy.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-05-23 04:12:25 +0200
committerUros Majstorovic <majstor@majstor.org>2017-05-23 04:12:25 +0200
commit922e8313f2b3f6157a61b3c867fdc3832bb92a68 (patch)
treee139071e3d012eb70627e83e314e1f02eab5e1db /code/proxy.c
parentdb066407cbcc5905c21314000acbe34e5d6968ef (diff)
implemented exec
Diffstat (limited to 'code/proxy.c')
-rw-r--r--code/proxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/proxy.c b/code/proxy.c
index a55d53e..ae66318 100644
--- a/code/proxy.c
+++ b/code/proxy.c
@@ -378,6 +378,7 @@ int ecp_proxy_init(ECPContext *ctx) {
handler_f.conn_destroy = proxyf_destroy;
handler_f.conn_open = proxyf_open;
handler_f.msg[ECP_MTYPE_OPEN] = proxyf_handle_open;
+ handler_f.msg[ECP_MTYPE_EXEC] = ecp_conn_handle_exec;
handler_f.msg[ECP_MTYPE_RELAY] = proxyf_handle_relay;
ctx->handler[ECP_CTYPE_PROXYF] = &handler_f;
@@ -387,6 +388,7 @@ int ecp_proxy_init(ECPContext *ctx) {
handler_b.conn_destroy = proxyb_destroy;
handler_b.conn_open = proxyb_open;
handler_b.msg[ECP_MTYPE_OPEN] = proxyb_handle_open;
+ handler_b.msg[ECP_MTYPE_EXEC] = ecp_conn_handle_exec;
handler_b.msg[ECP_MTYPE_RELAY] = proxyb_handle_relay;
ctx->handler[ECP_CTYPE_PROXYB] = &handler_b;