diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-10-10 19:17:48 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-10-10 19:17:48 +0000 |
commit | d038be780b817e8c0b0a2b5ed66f37fbaeda63e9 (patch) | |
tree | 96af254b6e6b30ddeea255a4402ce3cac6958fcf /ui/cli/tap-hosts.c | |
parent | f29544f9df11fec5ab0f051a58c775365d6e368a (diff) |
Flag the addresses used in the trace which has been resolved and only add those to the list used to create the NRB.
svn path=/trunk/; revision=52504
Diffstat (limited to 'ui/cli/tap-hosts.c')
-rw-r--r-- | ui/cli/tap-hosts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/cli/tap-hosts.c b/ui/cli/tap-hosts.c index a7d11eca34..537c429302 100644 --- a/ui/cli/tap-hosts.c +++ b/ui/cli/tap-hosts.c @@ -53,7 +53,7 @@ ipv4_hash_table_print_resolved(gpointer key _U_, gpointer value, gpointer user_d { hashipv4_t *ipv4_hash_table_entry = (hashipv4_t *)value; - if(!ipv4_hash_table_entry->is_dummy_entry){ + if((ipv4_hash_table_entry->flags & DUMMY_ADDRESS_ENTRY)== DUMMY_ADDRESS_ENTRY){ printf("%s\t%s", ipv4_hash_table_entry->ip, ipv4_hash_table_entry->name); @@ -65,7 +65,7 @@ ipv6_hash_table_print_resolved(gpointer key _U_, gpointer value, gpointer user_d { hashipv6_t *ipv6_hash_table_entry = (hashipv6_t *)value; - if(!ipv6_hash_table_entry->is_dummy_entry){ + if((ipv6_hash_table_entry->flags & DUMMY_ADDRESS_ENTRY)== DUMMY_ADDRESS_ENTRY){ printf("%s\t%s", ipv6_hash_table_entry->ip6, ipv6_hash_table_entry->name); |