[PATCH] lib: parameter: fixed doku renamed ip -> ipaddr
Rolf Evers-Fischer
embedded24 at evers-fischer.de
Mon Oct 13 04:27:20 PDT 2014
Long time ago all ".ip" parameters have been replaced with ".ipaddr".
Signed-off-by: Rolf Evers-Fischer <embedded24 at evers-fischer.de>
---
lib/parameter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/parameter.c b/lib/parameter.c
index 84a632c..c4c30ca 100644
--- a/lib/parameter.c
+++ b/lib/parameter.c
@@ -776,8 +776,8 @@ with device paramters. Device parameters are always strings, although there
are functions to interpret them as something else. 'hush' users can access
parameters as a local variable which have a dot (.) in them. So setting the
IP address of the first ethernet device is a matter of typing
-'eth0.ip=192.168.0.7' on the console and can then be read back with
-'echo $eth0.ip'. The @ref devinfo_command command shows a summary about all
+'eth0.ipaddr=192.168.0.7' on the console and can then be read back with
+'echo $eth0.ipaddr'. The @ref devinfo_command command shows a summary about all
devices currently present. If called with a device id as parameter it shows the
parameters available for a device.
--
1.9.1
More information about the barebox
mailing list