Added dump information for NDP options to appropriate ICMPv6 types
[senf.git] / senf / Packets / DefaultBundle / ListOptionTypeParser.cti
index c01fb88..82297ca 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: ListOptionTypeParser.cti 869 2008-06-09 13:57:27Z pug $
+// $Id$
 //
 // Copyright (C) 2009
 // Fraunhofer Institute for Open Communication Systems (FOKUS)
@@ -127,7 +127,7 @@ prefix_ void
 senf::detail::ListOptionTypeParser_Policy<ElementParser,AuxPolicy>::container_policy::
 destruct(container_type & c)
 {
-    // data_iterator i (AuxPolicy::adjust(parser_type::get(p).i(), parser_type::get(p).state()));
+    //data_iterator i (AuxPolicy::adjust(parser_type::get(p).i(), parser_type::get(p).state()));
     safe_data_iterator i (c.data(), c.i()) ;
     safe_data_iterator e = i + realAux_;
     unsigned int padBytes = 0;
@@ -221,7 +221,7 @@ update(container_type const & c)
         return;
     data_iterator i(AuxPolicy::adjust(c.i(), c.state()));
     data_iterator j(i);
-    for (size_type n(n_); n; --n, std::advance(j, senf::bytes(ElementParser(j,c.state()))));
+    for (size_type n(n_); n; --n, std::advance(j, senf::bytes(ElementParser(j,c.state())))) { ; }
     realAux_ = std::distance(i, j);
     container_size_ = c.data().size();
 }