]> git.proxmox.com Git - mirror_iproute2.git/commit
gre/gre6: allow clearing {,i,o}{key,seq,csum} flags
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 20 Apr 2018 08:32:00 +0000 (10:32 +0200)
committerDavid Ahern <dsahern@gmail.com>
Tue, 24 Apr 2018 02:42:58 +0000 (19:42 -0700)
commit7f520601f59ee35da2fc48b3f1b39ed2b80c9efa
tree446a01867e273fc5d8c03fc46ee8c804e19a46d9
parentd21c028cf74147360c530a4c53063bbe677dbe73
gre/gre6: allow clearing {,i,o}{key,seq,csum} flags

Currently, iproute allows setting those flags, but it's impossible to
clear them, since their current value is fetched from the kernel and
then we OR in the additional flags passed on the command line.

Add no* variants to allow clearing them.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/link_gre.c
ip/link_gre6.c
man/man8/ip-link.8.in