[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] small patch: stats_display_igmp used by ml6d
From: |
chrysn |
Subject: |
[lwip-devel] small patch: stats_display_igmp used by ml6d |
Date: |
Thu, 4 Apr 2013 00:17:19 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
hey,
due to MLD6_STATS_DISPLAY being defined as stats_display_igmp, the
latter must be built even if not IGMP_STATS. code says more than words
(see below)
best regards
chrysn
diff --git a/src/core/stats.c b/src/core/stats.c
index 06fbe0f..eec2cfb 100644
--- a/src/core/stats.c
+++ b/src/core/stats.c
@@ -86,7 +86,7 @@ stats_display_proto(struct stats_proto *proto, const char
*name)
LWIP_PLATFORM_DIAG(("cachehit: %"STAT_COUNTER_F"\n", proto->cachehit));
}
-#if IGMP_STATS
+#if IGMP_STATS || MLD6_STATS
void
stats_display_igmp(struct stats_igmp *igmp, const char *name)
{
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] small patch: stats_display_igmp used by ml6d,
chrysn <=