summaryrefslogtreecommitdiffstats
path: root/src/datatype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datatype.c')
-rw-r--r--src/datatype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datatype.c b/src/datatype.c
index bc3df214..50af3df0 100644
--- a/src/datatype.c
+++ b/src/datatype.c
@@ -648,7 +648,7 @@ static void inet_service_print(const struct expr *expr, struct output_ctx *octx)
void inet_service_type_print(const struct expr *expr, struct output_ctx *octx)
{
- if (octx->literal == NFT_LITERAL_PORT) {
+ if (octx->literal >= NFT_LITERAL_PORT) {
inet_service_print(expr, octx);
return;
}