net: stats: IPv6 multicast listener daemon stats not printed
The MLD statistics were collected but never printed. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
e5257ae790
commit
bddacf6a7f
2 changed files with 12 additions and 0 deletions
|
@ -337,6 +337,12 @@ static inline void net_shell_print_statistics(void)
|
|||
GET_STAT(ipv6_nd.sent),
|
||||
GET_STAT(ipv6_nd.drop));
|
||||
#endif /* CONFIG_NET_IPV6_ND */
|
||||
#if defined(CONFIG_NET_STATISTICS_MLD)
|
||||
printk("IPv6 MLD recv %d\tsent\t%d\tdrop\t%d\n",
|
||||
GET_STAT(ipv6_mld.recv),
|
||||
GET_STAT(ipv6_mld.sent),
|
||||
GET_STAT(ipv6_mld.drop));
|
||||
#endif /* CONFIG_NET_STATISTICS_MLD */
|
||||
#endif /* CONFIG_NET_IPV6 */
|
||||
|
||||
#if defined(CONFIG_NET_IPV4)
|
||||
|
|
|
@ -44,6 +44,12 @@ static inline void stats(void)
|
|||
GET_STAT(ipv6_nd.sent),
|
||||
GET_STAT(ipv6_nd.drop));
|
||||
#endif /* CONFIG_NET_STATISTICS_IPV6_ND */
|
||||
#if defined(CONFIG_NET_STATISTICS_MLD)
|
||||
NET_INFO("IPv6 MLD recv %d\tsent\t%d\tdrop\t%d",
|
||||
GET_STAT(ipv6_mld.recv),
|
||||
GET_STAT(ipv6_mld.sent),
|
||||
GET_STAT(ipv6_mld.drop));
|
||||
#endif /* CONFIG_NET_STATISTICS_MLD */
|
||||
#endif /* CONFIG_NET_STATISTICS_IPV6 */
|
||||
|
||||
#if defined(CONFIG_NET_STATISTICS_IPV4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue