summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-07-14 18:14:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-07-14 18:14:00 +0000
commit0025bca2a2509610f8929a653525f398d46f5552 (patch)
treed5a7d019c7c4e672284c138126596cd7f6ed6933
parent8707a2078f34fc45b263f0256ef704f5ea3212d8 (diff)
downloadnuttx-0025bca2a2509610f8929a653525f398d46f5552.tar.gz
nuttx-0025bca2a2509610f8929a653525f398d46f5552.tar.bz2
nuttx-0025bca2a2509610f8929a653525f398d46f5552.zip
Fix compile error when stats enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2801 42af7a65-404d-4744-a932-0658087f49c3
-rwxr-xr-xnuttx/net/uip/uip_igmpsend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/uip/uip_igmpsend.c b/nuttx/net/uip/uip_igmpsend.c
index 33575f7fe..568794f1f 100755
--- a/nuttx/net/uip/uip_igmpsend.c
+++ b/nuttx/net/uip/uip_igmpsend.c
@@ -171,8 +171,8 @@ void uip_igmpsend(FAR struct uip_driver_s *dev, FAR struct igmp_group_s *group,
IGMPBUF->chksum = 0;
IGMPBUF->chksum = ~uip_igmpchksum(&IGMPBUF->type, UIP_IPIGMPH_LEN);
- IGMP_STATINCR(uip_stats.igmp.poll_send);
- IGMP_STATINCR(uip_stats.ip.sent);
+ IGMP_STATINCR(uip_stat.igmp.poll_send);
+ IGMP_STATINCR(uip_stat.ip.sent);
nllvdbg("Outgoing IGMP packet length: %d (%d)\n",
dev->d_len, (IGMPBUF->len[0] << 8) | IGMPBUF->len[1]);