6rd: Clear correct IPv6 address bits in 6rdcalc
authorSteven Barth <steven@midlink.org>
Sat, 16 Nov 2013 09:18:14 +0000 (09:18 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 16 Nov 2013 09:18:14 +0000 (09:18 +0000)
commit1c82c32e7dda45a2efcf4376a4a8285f0a3d822c
tree8327ebd94d6f162c21e797049983f4c2a3913f06
parentb041af2c640ab6716e0c1db72950b1e0e99afae0
6rd: Clear correct IPv6 address bits in 6rdcalc

The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38818 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/ipv6/6rd/src/6rdcalc.c