busybox/networking/libiproute
Bernhard Reutner-Fischer 414be6c111 ip link: Fix vlan proto, closes 8261 and 11638
The proto has to be passed in network byte-order.
While at it allow for
 ip link add link eth0 name eth0.2.24 type vlan proto 802.1ad id 24
 ip link del link eth0 name eth0.2.24 type vlan proto 802.1ad id 24
The del was lacking a dev_str and thus errored out. Fix by using
name/dev counterpart as fallback.

The proto identifier 802.1Q was not recognized, just it's lowercase
variant, fix that too.

function                                             old     new   delta
do_add_or_delete                                    1275    1376    +101
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 101/0)             Total: 101 bytes

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2019-01-22 15:22:05 +01:00
..
ip_common.h
ip_parse_common_args.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
ipaddress.c ip: print dadfailed flag 2019-01-04 19:00:23 +01:00
iplink.c ip link: Fix vlan proto, closes 8261 and 11638 2019-01-22 15:22:05 +01:00
ipneigh.c ip: fix crash in "ip neigh show" 2018-02-08 08:42:37 +01:00
iproute.c ip: fix crash in "ip neigh show" 2018-02-08 08:42:37 +01:00
iprule.c ip: fix crash in "ip neigh show" 2018-02-08 08:42:37 +01:00
iptunnel.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
Kbuild.src tc: fix single-applet build 2018-01-13 21:37:20 +01:00
libnetlink.c libbb: introduce and use bb_getsockname() 2018-02-11 14:55:46 +01:00
libnetlink.h
ll_addr.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
ll_map.c ip: fix crash in "ip neigh show" 2018-02-08 08:42:37 +01:00
ll_map.h
ll_proto.c
ll_types.c
rt_names.c
rt_names.h
rtm_map.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
rtm_map.h
utils.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
utils.h