extended ICMP packet dumping to parts after packet creation
[pingcheck] / src / ip / ipv4header.cpp
index a4649ab..6fb6eb4 100644 (file)
@@ -26,7 +26,7 @@ static const size_t Ipv4HeaderSizeInBytes_withoutOptions = 20;
  * @brief Default constructor.
  */
 Ipv4Header::Ipv4Header() :
-    Payload( Ipv4HeaderSizeInBytes_withoutOptions )
+    IpHeader( Ipv4HeaderSizeInBytes_withoutOptions )
 {
     // encode a 4 into the first 4 bits
     Payload.encode1(0, 0, 0);