diff options
Diffstat (limited to 'src/datatype.c')
-rw-r--r-- | src/datatype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datatype.c b/src/datatype.c index 932acc7d..3eec931b 100644 --- a/src/datatype.c +++ b/src/datatype.c @@ -502,7 +502,7 @@ static void inet_service_type_print(const struct expr *expr) sin.sin_port = mpz_get_be16(expr->value); err = getnameinfo((struct sockaddr *)&sin, sizeof(sin), NULL, 0, buf, sizeof(buf), - numeric_output < NUMERIC_ALL ? 0 : NI_NUMERICSERV); + numeric_output < NUMERIC_PORT ? 0 : NI_NUMERICSERV); if (err != 0) { getnameinfo((struct sockaddr *)&sin, sizeof(sin), NULL, 0, buf, sizeof(buf), NI_NUMERICSERV); |