summaryrefslogtreecommitdiff
path: root/net/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcp.c')
-rw-r--r--net/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tcp.c b/net/tcp.c
index 2635727f47d..8740150365f 100644
--- a/net/tcp.c
+++ b/net/tcp.c
@@ -804,7 +804,7 @@ void tcp_parse_options(struct tcp_stream *tcp, uchar *o, int o_len)
}
/* Process optional NOPs */
- if (p[0] == TCP_O_NOP)
+ if (p[0] == TCP_1_NOP)
p++;
else
p += p[1];