aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index f80bc479a..b850496ed 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1508,6 +1508,12 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa
}
break;
+ case INFO_NATPMP:
+ fprintf(out, "[Result: %u][Internal Port: %u][External Port: %u][External Address: %s]",
+ flow->natpmp.result_code, flow->natpmp.internal_port, flow->natpmp.external_port,
+ flow->natpmp.ip);
+ break;
+
case INFO_FTP_IMAP_POP_SMTP:
if (flow->ftp_imap_pop_smtp.username[0] != '\0')
{