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 @@
Last Updated: July 2, 2017
+Last Updated: August 10, 2017
Command Syntax:
-addroute <target> <netmask> <router> +addroute <target> [<netmask>] <router>
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:
-nsh> addroute 1.1.1.1 2.2.2.2 3.3.3.3 +nsh> addroute addroute 11.0.0.0 255.255.255.0 10.0.0.2 ++
+ which is equivalent to +
++nsh> addroute 11.0.0.0/24 10.0.0.2