summaryrefslogtreecommitdiff
path: root/nuttx/net/sendto.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-30 20:46:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-30 20:46:29 +0000
commit563ced5a52a1260c2165435a103c204c39a658f0 (patch)
tree1690f3ad402aa77528c4cefe28e399d87ed06fb6 /nuttx/net/sendto.c
parent31e64b14e31c58b25a8ebe6eb2672ac4d1847c1b (diff)
downloadpx4-nuttx-563ced5a52a1260c2165435a103c204c39a658f0.tar.gz
px4-nuttx-563ced5a52a1260c2165435a103c204c39a658f0.tar.bz2
px4-nuttx-563ced5a52a1260c2165435a103c204c39a658f0.zip
Add examples/dhcpd
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@413 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net/sendto.c')
-rw-r--r--nuttx/net/sendto.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/net/sendto.c b/nuttx/net/sendto.c
index a0f3cc4a1..0e5b80032 100644
--- a/nuttx/net/sendto.c
+++ b/nuttx/net/sendto.c
@@ -44,6 +44,7 @@
#include <sys/socket.h>
#include <string.h>
#include <errno.h>
+#include <debug.h>
#include <arch/irq.h>
#include <net/uip/uip-arch.h>
@@ -93,6 +94,8 @@ struct sendto_s
void sendto_interrupt(struct uip_driver_s *dev, struct uip_udp_conn *conn, uint8 flags)
{
struct sendto_s *pstate = (struct sendto_s *)conn->private;
+
+ nvdbg("flags: %02x\n");
if (pstate)
{
/* Check if the connection was rejected */