summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf Evers-Fischer <embedded24@evers-fischer.de>2014-10-13 13:27:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-10-23 07:51:37 +0200
commit9ab02e4ec6cac824b5e09e194b529568bce68ff8 (patch)
treeace47aee634ad3080a3ee0838bafd83ca0b5372d
parentb07e7f3bb8f4326d529979d3c9348fbb6211951c (diff)
downloadbarebox-9ab02e4ec6cac824b5e09e194b529568bce68ff8.tar.gz
barebox-9ab02e4ec6cac824b5e09e194b529568bce68ff8.tar.xz
lib: parameter: fixed doku renamed ip -> ipaddr
Long time ago all ".ip" parameters have been replaced with ".ipaddr". Signed-off-by: Rolf Evers-Fischer <embedded24@evers-fischer.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--lib/parameter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parameter.c b/lib/parameter.c
index 84a632c34..c4c30ca7e 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.