BusyBox Bug and Patch Tracking
BusyBox
  

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

- Relationships

- Notes
(0002056)
vda
01-27-07 05:14

Fixed in revision 17550. (You shouldn't add "del", you should renumber case labels instead...). Thanks
 

- Issue History
Date Modified Username Field Change
01-27-07 02:09 karn New Issue
01-27-07 02:09 karn Status new => assigned
01-27-07 02:09 karn Assigned To  => BusyBox
01-27-07 05:14 vda Status assigned => closed
01-27-07 05:14 vda Note Added: 0002056
01-27-07 05:14 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker