diff --git a/src/algo_naive.c b/src/algo_naive.c index 1957230..1b1b7bb 100644 --- a/src/algo_naive.c +++ b/src/algo_naive.c @@ -171,6 +171,7 @@ void on_tcp_read(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo) { mv_buffer_wtor (app_ctx, fdinfo, bp); return; } + printf("Pass packet from %s to %s\n", fdinfo->url, url); // 4. We move the buffer and notify the target mv_buffer_rtow (app_ctx, fdinfo, to_fdinfo, bp); @@ -232,6 +233,7 @@ void on_udp_read(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo) { mv_buffer_wtor (app_ctx, fdinfo, bp); return; } + printf("Pass packet from %s to %s\n", fdinfo->url, url); // 4. We move the buffer and notify the target mv_buffer_rtow (app_ctx, fdinfo, to_fdinfo, bp);