]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip/ip6tunnel: fix update of tclass and flowlabel
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Wed, 14 Nov 2012 15:29:26 +0000 (16:29 +0100)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Wed, 14 Nov 2012 18:42:46 +0000 (19:42 +0100)
commit8b2f2d777ca0cfe028fba2ab922506e2ca9e07a3
tree2cd0bd4ecedce053a6cef6ee3237338c859daa4c
parent1da845409ea40634c44b383cc6482cb6a78ecf1e
ip/ip6tunnel: fix update of tclass and flowlabel

When tclass or flowlabel field were updated, we only performed an OR with the
new value. For example, it was not possible to reset tclass:
  ip -6 tunnel change ip6tnl2 tclass 0

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
ip/ip6tunnel.c