Fixed a bug in IPv6decoder.

Change-Id: If5d5bd9e6634601ce9a107b2aa2ba8f24181c660
Signed-off-by: Alex Fan <railor33@gmail.com>