[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BUG][PATCH] networking/arp.c
From:       Kuleshov Aleksey <rndfax () yandex ! ru>
Date:       2012-12-23 21:29:53
Message-ID: 2068061356298193 () web16h ! yandex ! ru
[Download RAW message or body]

Good morning!

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");
_______________________________________________
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