Bug 11551 - ip: -online option is not working
Summary: ip: -online option is not working
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.29.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-07 15:11 UTC by nolange79
Modified: 2020-04-24 10:02 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 nolange79 2018-12-07 15:11:08 UTC
The oneline (-o) option is not working for all commands. It certainly is not working for link. See examples.


+ ip link show dev enp0s21f0u1
6: enp0s21f0u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 7a:a5:4e:6b:75:d4 brd ff:ff:ff:ff:ff:ff


+ ip -o link show dev enp0s21f0u1


+ ip -o -f inet addr show enp0s21f0u1
6: enp0s21f0u1    inet 192.168.1.33 peer 192.168.1.240/32 scope global enp0s21f0u1\       valid_lft forever preferred_lft forevr
Comment 1 Andrea Scarpino 2020-04-24 10:02:24 UTC
It looks like this has been fixed already?

https://git.busybox.net/busybox/commit/?id=bb3a9531b28f5c946452b92c8ac5a0951c5eab03