mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 00:07:59 +02:00
backport initialisation of _seq member and some static checking for ICMP packet
This commit is contained in:
@@ -125,8 +125,9 @@ const std::string ICMPv4PacketImpl::PARAMETER_PROBLEM_CODE[] =
|
||||
};
|
||||
|
||||
|
||||
ICMPv4PacketImpl::ICMPv4PacketImpl(int dataSize):
|
||||
ICMPPacketImpl(dataSize)
|
||||
ICMPv4PacketImpl::ICMPv4PacketImpl(int dataSize)
|
||||
: ICMPPacketImpl(dataSize),
|
||||
_seq(0)
|
||||
{
|
||||
initPacket();
|
||||
}
|
||||
|
Reference in New Issue
Block a user