Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/payload.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ int fh_payload_setup(void)
len = sizeof(node->payload);
res = make_http_get(node->payload, &len, pinfo->info);
if (res < 0) {
E(T(make_custom));
E(T(make_http_get));
goto cleanup;
}
node->payload_len = len;
Expand All @@ -275,7 +275,7 @@ int fh_payload_setup(void)
len = sizeof(node->payload);
res = make_tls_client_hello(node->payload, &len, pinfo->info);
if (res < 0) {
E(T(make_custom));
E(T(make_tls_client_hello));
goto cleanup;
}
node->payload_len = len;
Expand Down
4 changes: 2 additions & 2 deletions src/rawsend.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static void ipaddr_to_str(struct sockaddr *addr, char ipstr[INET6_ADDRSTRLEN])

if (addr->sa_family == AF_INET) {
res = inet_ntop(AF_INET, &((struct sockaddr_in *) addr)->sin_addr,
ipstr, INET6_ADDRSTRLEN);
ipstr, INET_ADDRSTRLEN);
if (!res) {
goto invalid;
}
Expand Down Expand Up @@ -295,7 +295,7 @@ int fh_rawsend_setup(void)
opt = 128;
res = setsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, &opt, sizeof(opt));
if (res < 0) {
E("ERROR: setsockopt(): SO_PRIORITY: %s", strerror(errno));
E("ERROR: setsockopt(): SO_RCVBUF: %s", strerror(errno));
goto close_socket;
}

Expand Down