summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.c')
-rw-r--r--flowtop.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/flowtop.c b/flowtop.c
index e38cd8e..0a498ed 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -673,8 +673,10 @@ static void flow_entry_get_extended(struct flow_entry *n)
if (n->flow_id == 0 || flow_entry_get_extended_is_dns(n))
return;
- flow_entry_get_extended_revdns(n, flow_entry_src);
- flow_entry_get_extended_geo(n, flow_entry_src);
+ if (show_src) {
+ flow_entry_get_extended_revdns(n, flow_entry_src);
+ flow_entry_get_extended_geo(n, flow_entry_src);
+ }
flow_entry_get_extended_revdns(n, flow_entry_dst);
flow_entry_get_extended_geo(n, flow_entry_dst);