Commit b2acaf13 authored by Adam Osuchowski's avatar Adam Osuchowski Committed by David S. Miller

[NETFILTER]: Fix opt[] to be array of u_int8_t in tcp_find_option().

parent 600d7680
......@@ -1458,7 +1458,7 @@ tcp_find_option(u_int8_t option,
int *hotdrop)
{
/* tcp.doff is only 4 bits, ie. max 15 * 4 bytes */
char opt[60 - sizeof(struct tcphdr)];
u_int8_t opt[60 - sizeof(struct tcphdr)];
unsigned int i;
duprintf("tcp_match: finding option\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment