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 52c8c07c..6920ff94 100644
--- a/src/tcpopt.c
+++ b/src/tcpopt.c
@@ -181,7 +181,7 @@ struct expr *tcpopt_expr_alloc(const struct location *loc, uint8_t type,
optnum = tcpopt_find_optnum(type);
- expr = expr_alloc(loc, &exthdr_expr_ops, tmpl->dtype,
+ expr = expr_alloc(loc, EXPR_EXTHDR, tmpl->dtype,
BYTEORDER_BIG_ENDIAN, tmpl->len);
expr->exthdr.desc = desc;
expr->exthdr.tmpl = tmpl;