Skip to content

Commit

Permalink
Reset padding length to 0
Browse files Browse the repository at this point in the history
Will add padding options to the CLI later.
  • Loading branch information
hack3ric committed Sep 29, 2024
1 parent 3919e54 commit e05d3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static __always_inline struct connection conn_init(struct filter_settings* setti
struct connection conn = {.cwnd = INIT_CWND};
__builtin_memcpy(&conn.settings, settings, sizeof(*settings));
conn.retry_tstamp = conn.reset_tstamp = conn.stale_tstamp = tstamp;
conn.padding_len = 4;
conn.padding_len = 0; // TODO: expose padding
return conn;
}

Expand Down

0 comments on commit e05d3af

Please sign in to comment.