[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BUG][PATCH] networking/arp.c
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2013-02-04 14:15:20
Message-ID: CAK1hOcNAZj4316xy_mPYDOG7vyiX=NZ0wgPg_PwDo67-GCtSpA () mail ! gmail ! com
[Download RAW message or body]
On Sun, Dec 23, 2012 at 10:29 PM, Kuleshov Aleksey <rndfax@yandex.ru> wrote:
> arp applet doesn't know about <H> parameter.
> I supposed <t> parameter is related to <H> as alias.
>
> --- networking/arp.c 2012-06-26 17:35:45.000000000 +0400
> +++ networking/arp.c 2012-12-24 01:04:16.000000000 +0400
> @@ -29,7 +29,7 @@
> //usage: "\n -i IF Network interface"
> //usage: "\n -D Read <hwaddr> from given device"
> //usage: "\n -A,-p AF Protocol family"
> -//usage: "\n -H HWTYPE Hardware address type"
> +//usage: "\n -H,t HWTYPE Hardware address type"
>
> #include "libbb.h"
> #include "inet_common.h"
> @@ -496,7 +496,7 @@
> if (ap == NULL)
> bb_error_msg_and_die("%s: unknown %s", protocol, "address family");
> }
> - if (opts & (ARP_OPT_A | ARP_OPT_p)) {
> + if (opts & (ARP_OPT_H | ARP_OPT_t)) {
> hw = get_hwtype(hw_type);
> if (hw == NULL)
> bb_error_msg_and_die("%s: unknown %s", hw_type, "hardware type");
Applied, thanks!
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic