Message ID | 1495581725-10829-1-git-send-email-sainath.grandhi@intel.com |
---|---|
State | Changes Requested, archived |
Delegated to: | stephen hemminger |
Headers | show |
On Tue, 23 May 2017 16:22:05 -0700 Sainath Grandhi <sainath.grandhi@intel.com> wrote: > This patch adds support for managing ipvtap devices using ip link. ipvtap support > is added to linux with commit 235a9d89da976e2975b3de9afc0bed7b72557983 Please resend with a Signed-off-by line. Also, you need to update the Usage message and the man page.
diff --git a/ip/iplink_ipvlan.c b/ip/iplink_ipvlan.c index f7735f3..153aa2f 100644 --- a/ip/iplink_ipvlan.c +++ b/ip/iplink_ipvlan.c @@ -1,4 +1,4 @@ -/* iplink_ipvlan.c IPVLAN device support +/* iplink_ipvlan.c IPVLAN/IPVTAP device support * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -90,3 +90,11 @@ struct link_util ipvlan_link_util = { .print_opt = ipvlan_print_opt, .print_help = ipvlan_print_help, }; + +struct link_util ipvtap_link_util = { + .id = "ipvtap", + .maxattr = IFLA_IPVLAN_MAX, + .parse_opt = ipvlan_parse_opt, + .print_opt = ipvlan_print_opt, + .print_help = ipvlan_print_help, +};