ip link: support "add TYPE vrf", improve --help
authorJan Luebbe <jluebbe@debian.org>
Tue, 20 Feb 2018 18:28:02 +0000 (19:28 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 20 Feb 2018 18:29:05 +0000 (19:29 +0100)
commit79cda9522ad390f1bdb7ba1025b1c81bbd1613e6
tree3b990f1e4c9f948e1340221788671130c29fb51a
parentb083e8cc538ba6b27e19da541ca6a0f7ceb7daee
ip link: support "add TYPE vrf", improve --help

VRF interfaces have a mandatory table parameter, which needs to be
specified using a RTNL attribute.

function                                             old     new   delta
do_add_or_delete                                    1150    1254    +104
packed_usage                                       32444   32546    +102
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 206/0)             Total: 206 bytes

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ip.c
networking/libiproute/iplink.c