summaryrefslogtreecommitdiffstats
path: root/src/tcpopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcpopt.c')
-rw-r--r--src/tcpopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcpopt.c b/src/tcpopt.c
index 66f021f9..52c8c07c 100644
--- a/src/tcpopt.c
+++ b/src/tcpopt.c
@@ -197,7 +197,7 @@ void tcpopt_init_raw(struct expr *expr, uint8_t type, unsigned int offset,
const struct proto_hdr_template *tmpl;
unsigned int i, off;
- assert(expr->ops->type == EXPR_EXTHDR);
+ assert(expr->etype == EXPR_EXTHDR);
expr->len = len;
expr->exthdr.flags = flags;