lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] small patch: stats_display_igmp used by ml6d


From: Ivan Delamer
Subject: Re: [lwip-devel] small patch: stats_display_igmp used by ml6d
Date: Thu, 04 Apr 2013 10:36:52 -0600

Hi,

Could you please submit as a patch in Savannah? This way it won't get forgotten and I'll work it in next time I'm working on LwIP.

Cheers
Ivan


Date: Thu, 4 Apr 2013 00:17:19 +0200
From: chrysn <address@hidden>
To: address@hidden
Subject: [lwip-devel] small patch: stats_display_igmp used by ml6d
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

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)
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]