Bug 11551

Summary: ip: -online option is not working
Product: Busybox Reporter: nolange79
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.29.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

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