[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