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:
Maxim Sobolev 2017-01-12 10:14:54 +00:00
parent 7ad417dff8
commit 5e946c03c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311974

View File

@ -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 */