diff options
Diffstat (limited to 'src/tcpopt.c')
-rw-r--r-- | src/tcpopt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tcpopt.c b/src/tcpopt.c index 1cf97a56..05b5ee6e 100644 --- a/src/tcpopt.c +++ b/src/tcpopt.c @@ -197,6 +197,8 @@ void tcpopt_init_raw(struct expr *expr, uint8_t type, unsigned int off, if (flags & NFT_EXTHDR_F_PRESENT) datatype_set(expr, &boolean_type); + else + datatype_set(expr, &integer_type); if (type >= array_size(tcpopt_protocols)) return; |