updated ListOptionTypeParser and unittests, fixed error in ICMP packet
[senf.git] / senf / Packets / ListOptionTypeParser.ih
index 207bc76..d85995a 100644 (file)
@@ -52,7 +52,7 @@ namespace senf {
             typedef ListParser< ListOptionTypeParser_Policy > parser_type;
             typedef ListParser_Container< container_policy > container_type;
 
-            static const size_type init_bytes = AuxPolicy::aux_bytes;
+            static const size_type init_bytes = 6 + AuxPolicy::aux_bytes;
 
             ListOptionTypeParser_Policy();
             template <class Arg> ListOptionTypeParser_Policy(Arg const & arg);