aboutsummaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-20 14:15:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-20 14:15:59 +0000
commitdbdf7cb3ae33224d45b5185d15d756508c11a246 (patch)
tree0a06ecbba1c26a7f5d616cf3a782a4e502b71892 /apps/nshlib/nsh.h
parent78ba846c066a97fab1c5f485d4d7fff3bb55d215 (diff)
downloadpx4-firmware-dbdf7cb3ae33224d45b5185d15d756508c11a246.tar.gz
px4-firmware-dbdf7cb3ae33224d45b5185d15d756508c11a246.tar.bz2
px4-firmware-dbdf7cb3ae33224d45b5185d15d756508c11a246.zip
Ping/DNS fixes (part 2 of 2)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5236 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r--apps/nshlib/nsh.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h
index cfab26271..f85df29dd 100644
--- a/apps/nshlib/nsh.h
+++ b/apps/nshlib/nsh.h
@@ -215,6 +215,15 @@
#endif /* CONFIG_NSH_TELNET_LOGIN */
+/* CONFIG_NSH_MAX_ROUNDTRIP - This is the maximum round trip for a response to
+ * a ICMP ECHO request. It is in units of deciseconds. The default is 20
+ * (2 seconds).
+ */
+
+#ifndef CONFIG_NSH_MAX_ROUNDTRIP
+# define CONFIG_NSH_MAX_ROUNDTRIP 20
+#endif
+
/* Verify support for ROMFS /etc directory support options */
#ifdef CONFIG_NSH_ROMFSETC