summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/datatype.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/datatype.c b/src/datatype.c
index c92f9276..b5d73bc0 100644
--- a/src/datatype.c
+++ b/src/datatype.c
@@ -559,6 +559,10 @@ const struct datatype inet_protocol_type = {
static void inet_service_type_print(const struct expr *expr)
{
+ if (numeric_output >= NUMERIC_PORT) {
+ integer_type_print(expr);
+ return;
+ }
symbolic_constant_print(&inet_service_tbl, expr, false);
}