diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-05-23 04:12:25 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-05-23 04:12:25 +0200 |
commit | 922e8313f2b3f6157a61b3c867fdc3832bb92a68 (patch) | |
tree | e139071e3d012eb70627e83e314e1f02eab5e1db /code/proxy.c | |
parent | db066407cbcc5905c21314000acbe34e5d6968ef (diff) |
implemented exec
Diffstat (limited to 'code/proxy.c')
-rw-r--r-- | code/proxy.c | 2 |
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; |