Skip to content

Commit

Permalink
fix transport hep identifier from net to trans
Browse files Browse the repository at this point in the history
(cherry picked from commit cddeca398a99563e06988bef416a40a70fff139f)
  • Loading branch information
ionutrazvanionita committed Apr 26, 2017
1 parent 38a4632 commit abec7c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/proto_ws/proto_ws.c
Expand Up @@ -74,7 +74,7 @@ static str ws_resource = str_init("/");
#include "ws_common.h"

#define WS_TRACE_PROTO "proto_hep"
#define WS_TRANS_TRACE_PROTO_ID "trans"
#define WS_TRANS_TRACE_PROTO_ID "net"
static str trace_destination_name = {NULL, 0};
trace_dest t_dst;
trace_proto_t tprot;
Expand Down
2 changes: 1 addition & 1 deletion modules/proto_wss/proto_wss.c
Expand Up @@ -85,7 +85,7 @@ static int wss_raw_writev(struct tcp_connection *c, int fd,
#include "../proto_ws/ws_common.h"

#define WS_TRACE_PROTO "proto_hep"
#define WS_TRANS_TRACE_PROTO_ID "trans"
#define WS_TRANS_TRACE_PROTO_ID "net"
static str trace_destination_name = {NULL, 0};
trace_dest t_dst;
trace_proto_t tprot;
Expand Down
2 changes: 1 addition & 1 deletion net/proto_tcp/tcp_common.h
Expand Up @@ -501,7 +501,7 @@ static inline int tcp_handle_req(struct tcp_req *req,
return -1;
}

#define TRANS_TRACE_PROTO_ID "trans"
#define TRANS_TRACE_PROTO_ID "net"

#endif

0 comments on commit abec7c0

Please sign in to comment.