[PATCH] lib: parameter: fixed doku renamed ip -> ipaddr

Sascha Hauer s.hauer at pengutronix.de
Wed Oct 22 22:52:02 PDT 2014


On Mon, Oct 13, 2014 at 01:27:20PM +0200, Rolf Evers-Fischer wrote:
> Long time ago all ".ip" parameters have been replaced with ".ipaddr".
> 
> Signed-off-by: Rolf Evers-Fischer <embedded24 at evers-fischer.de>

Applied, thanks

Sascha

> ---
>  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
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list