Bug 2287 - 1.17.0 ip r not work
Summary: 1.17.0 ip r not work
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 20:16 UTC by Evgeniy Manachkin
Modified: 2010-07-24 21:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Manachkin 2010-07-23 20:16:25 UTC
In 1.17.0 busybox ip r not work. ip a and ip l work correctly.

Example:

~ # ip r
BusyBox v1.17.0 (2010-07-24 02:48:37 OMSST) multi-call binary.

Usage: ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | tunnel | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

~ # ip route
192.168.1.0/24 dev br0  src 192.168.1.1 
10.0.0.0/8 dev eth2.2  src 10.8.0.233 
127.0.0.0/8 dev lo 
default dev ppp0

~ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.0/8 scope host lo
2: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP100> mtu 1600 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:0c:43:30:52:67 brd ff:ff:ff:ff:ff:ff
Comment 1 Denys Vlasenko 2010-07-24 21:28:38 UTC
Fixed in git in commit e0a6220 and here:
http://busybox.net/downloads/fixes-1.17.0/busybox-1.17.0-ip_r.patch