Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ccanel committed Feb 15, 2025
1 parent 6e6e4e7 commit f6ddb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ratemon/runtime/c/libratemon_interp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ bool get_flow(int fd, struct rm_flow *flow) {
// Set the CCA for this socket and make sure it was set correctly.
bool set_cca(int fd, const char *cca) {
if (setsockopt(fd, SOL_TCP, TCP_CONGESTION, cca, strlen(cca)) == -1) {
RM_PRINTF("ERROR: failed to 'setsockopt' TCP_CONGESTION\n");
RM_PRINTF("ERROR: failed to 'setsockopt' TCP_CONGESTION --- is CCA '%s' loaded?\n", cca);
return false;
}
char retrieved_cca[32];
Expand Down

0 comments on commit f6ddb38

Please sign in to comment.