414be6c111
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> |
||
---|---|---|
.. | ||
ip_common.h | ||
ip_parse_common_args.c | ||
ipaddress.c | ||
iplink.c | ||
ipneigh.c | ||
iproute.c | ||
iprule.c | ||
iptunnel.c | ||
Kbuild.src | ||
libnetlink.c | ||
libnetlink.h | ||
ll_addr.c | ||
ll_map.c | ||
ll_map.h | ||
ll_proto.c | ||
ll_types.c | ||
rt_names.c | ||
rt_names.h | ||
rtm_map.c | ||
rtm_map.h | ||
utils.c | ||
utils.h |