From 5a352cacc12bb7e4c11c559f3fbed2a45331a75b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 10 Aug 2017 10:32:09 -0600 Subject: [PATCH] Update NSH documentation to show new usage for addroute and delroute. --- Documentation/NuttShell.html | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index c545a40a547..4aeb266544e 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -8,7 +8,7 @@

NuttShell (NSH)

-

Last Updated: July 2, 2017

+

Last Updated: August 10, 2017

@@ -1166,18 +1166,28 @@ test <expression>

Command Syntax:

Synopsis. This command adds an entry in the routing table. The new entry will map the IP address of a router on a local network (<router>) to an external network characterized by the <target> IP address and a network mask <netmask>

+

+ The netmask may also be expressed using IPv4 CIDR or IPv6 slash notation. + In that case, the netmask need not be provided. +

Example:

+

+ which is equivalent to +

+ @@ -1481,17 +1491,28 @@ nsh> dd if=/dev/ram0 of=/dev/null

Command Syntax:

Synopsis. The entry removed will be the first entry in the routing table that matches the external network characterized by the <target> IP address and the network mask <netmask> +

+

+ The netmask may also be expressed using IPv4 CIDR or IPv6 slash + notation. In that case, the netmask need not be provided. +

Example:

+

+ which is equivalent to +

+