From 6303b09ef4ae94d342be569cc5d58ee0770d638a Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 20 Oct 2012 14:15:59 +0000 Subject: Ping/DNS fixes (part 2 of 2) git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5236 42af7a65-404d-4744-a932-0658087f49c3 --- apps/nshlib/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/nshlib/Kconfig') diff --git a/apps/nshlib/Kconfig b/apps/nshlib/Kconfig index d12a32973..9bca6658c 100644 --- a/apps/nshlib/Kconfig +++ b/apps/nshlib/Kconfig @@ -520,3 +520,12 @@ config NSH_NOMAC ---help--- Set if your ethernet hardware has no built-in MAC address. If set, a bogus MAC will be assigned. + +config NSH_MAX_ROUNDTRIP + int "Max Ping Round-Trip (DSEC)" + default 20 + depends on NSH_LIBRARY && NET && !NSH_DISABLE_PING + ---help--- + 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). + -- cgit v1.2.3