PPI: Checkin of first compiling (yet not working) version
[senf.git] / Packets / PacketType.hh
index 5d34507..863f966 100644 (file)
@@ -100,7 +100,7 @@ namespace senf {
         \endcode
 
         You may leave out any one of the members (you should however always define the \c
-        interpreter typedef member)
+        packet typedef member)
 
         \ingroup packet_module
       */
@@ -266,7 +266,7 @@ namespace senf {
                 // Return the key in the registry under which the next packet
                 // header is to be found. This member must be given if a Registry argument is
                 // passed to the PacketTypeMixin template.
-                return i.fields().typeField();
+                return p->typeField();
             }
 
             static void finalize(packet p)