Fix slight type mismatch between so_options defined in sys/socketvar.h
and tw_so_options defined here which is supposed to be a copy of the former (short vs u_short respectively). Switch tw_so_options to be "signed short" to match the type of the field it's inherited from.
This commit is contained in:
parent
7ad417dff8
commit
5e946c03c7
@ -452,7 +452,7 @@ struct tcptw {
|
||||
tcp_seq iss;
|
||||
tcp_seq irs;
|
||||
u_short last_win; /* cached window value */
|
||||
u_short tw_so_options; /* copy of so_options */
|
||||
short tw_so_options; /* copy of so_options */
|
||||
struct ucred *tw_cred; /* user credentials */
|
||||
u_int32_t t_recent;
|
||||
u_int32_t ts_offset; /* our timestamp offset */
|
||||
|
Loading…
Reference in New Issue
Block a user