diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-14 15:46:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-14 15:46:50 +0000 |
commit | cc0a9dcd6c00e91a60c0e0776a7a32b11433ee0d (patch) | |
tree | af4be1a57c2d16a976f365375fa7d75bea6c0f3a /nuttx/net/uip | |
parent | eda5581788b648ccde1a8fd83f166ac89e948983 (diff) | |
download | px4-nuttx-cc0a9dcd6c00e91a60c0e0776a7a32b11433ee0d.tar.gz px4-nuttx-cc0a9dcd6c00e91a60c0e0776a7a32b11433ee0d.tar.bz2 px4-nuttx-cc0a9dcd6c00e91a60c0e0776a7a32b11433ee0d.zip |
Typo introduced in previous check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1604 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/uip')
-rw-r--r-- | nuttx/net/uip/uip_udpinput.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/net/uip/uip_udpinput.c b/nuttx/net/uip/uip_udpinput.c index 7df58bd9f..3e431bca9 100644 --- a/nuttx/net/uip/uip_udpinput.c +++ b/nuttx/net/uip/uip_udpinput.c @@ -95,7 +95,7 @@ void uip_udpinput(struct uip_driver_s *dev) { - struct uip_udp_conn *conn; + struct uip_udp_conn *conn; struct uip_udpip_hdr *pbuf = UDPBUF; /* UDP processing is really just a hack. We don't do anything to the UDP/IP @@ -106,7 +106,7 @@ void uip_udpinput(struct uip_driver_s *dev) dev->d_len -= UIP_IPUDPH_LEN; #ifdef CONFIG_NET_UDP_CHECKSUMS dev->d_appdata = &dev->d_buf[UIP_LLH_LEN + UIP_IPUDPH_LEN]; - if (pudpbuf->udpchksum != 0 && uip_udpchksum(dev) != 0xffff) + if (pbuf->udpchksum != 0 && uip_udpchksum(dev) != 0xffff) { #ifdef CONFIG_NET_STATISTICS uip_stat.udp.drop++; @@ -120,7 +120,7 @@ void uip_udpinput(struct uip_driver_s *dev) { /* Demultiplex this UDP packet between the UDP "connections". */ - conn = uip_udpactive(pudpbuf); + conn = uip_udpactive(pbuf); if (conn) { /* Setup for the application callback */ |