summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh_netcmds.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-20 18:02:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-02-20 18:02:55 +0000
commit9c6d2638a2c2b84a434d2a88aebfe03da6c18482 (patch)
tree4b95f487fa38221ffc958b2c0fbbfc172f292574 /nuttx/examples/nsh/nsh_netcmds.c
parentc2bbba7b6914bff65b42c1910a31598c2eadb45f (diff)
downloadnuttx-9c6d2638a2c2b84a434d2a88aebfe03da6c18482.tar.gz
nuttx-9c6d2638a2c2b84a434d2a88aebfe03da6c18482.tar.bz2
nuttx-9c6d2638a2c2b84a434d2a88aebfe03da6c18482.zip
strerror() is big; don't use it unless requested
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@717 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh_netcmds.c')
-rw-r--r--nuttx/examples/nsh/nsh_netcmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/examples/nsh/nsh_netcmds.c b/nuttx/examples/nsh/nsh_netcmds.c
index 3874d3a53..6c26584df 100644
--- a/nuttx/examples/nsh/nsh_netcmds.c
+++ b/nuttx/examples/nsh/nsh_netcmds.c
@@ -209,6 +209,7 @@ int ifconfig_callback(FAR struct uip_driver_s *dev, void *arg)
nsh_output(arg, "DRaddr:%s ", inet_ntoa(addr));
addr.s_addr = dev->d_netmask;
nsh_output(arg, "Mask:%s\n\n", inet_ntoa(addr));
+ return OK;
}
/****************************************************************************