Let opt be an array. Though &opt[0] == opt == &opt, &opt is highly

confusing and hard to understand so change it to just opt and
remove the extra cast no longer/not needed.

Discussed with: rwatson
MFC after:      3 days
This commit is contained in:
Bjoern A. Zeeb 2007-11-28 13:33:27 +00:00
parent abebe6db7a
commit 4a411b9fcc

View File

@ -693,7 +693,7 @@ send:
#endif /* TCP_SIGNATURE */
/* Processing the options. */
hdrlen += optlen = tcp_addoptions(&to, (u_char *)&opt);
hdrlen += optlen = tcp_addoptions(&to, opt);
#ifdef TCP_SIGNATURE
sigoff = to.to_signature - (u_char *)&to;