]> git.ipfire.org Git - thirdparty/suricata.git/commit
teredo: update protocol decoding. 285/head
authorEric Leblond <eric@regit.org>
Thu, 14 Feb 2013 10:11:55 +0000 (11:11 +0100)
committerEric Leblond <eric@regit.org>
Thu, 14 Feb 2013 10:40:02 +0000 (11:40 +0100)
commit2732faf05c4abe8983d39b7ed2ac9debd4d3c436
tree7f7d29580eb7bb25ffbdab4bd58da1fc27727a5f
parent8d7b9703af181f3ac72853f800224b3e655e5860
teredo: update protocol decoding.

This patch fixes an error in pointer arythmetic and add some
comments to increase maintanability of the code. It also
simplify the decoding code as a careful RFC reading indicate
that if we discard packet containing an authentication field,
it is only possible to have a single origin indication field.
src/decode-teredo.c