Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0001181 |
[BusyBox] Networking Support |
major |
always |
01-27-07 02:09 |
01-27-07 05:14 |
|
Reporter |
karn |
View Status |
public |
|
Assigned To |
BusyBox |
Priority |
normal |
Resolution |
fixed |
|
Status |
closed |
|
Product Version |
1.4.x |
|
Summary |
0001181: "ip route list" broken |
Description |
The command "ip route list" emits the erroneous error message "iproute: need at least one destination address". The bug seems to have first appeared in an earlier version, probably 1.3.1.
|
Additional Information |
I found the problem and verified the fix. In file networking/libiproute/iproute.c, function do_iproute(), case 5 was added to the switch to make "del" an alias for "delete". However, the command string "del" was not added to ip_route_commands[], so all of the subsequent switch entries, including "list", were off-by-1.
I added "del" to the list and all was well again.
|
|
Attached Files |
|
|