diff options
Diffstat (limited to 'plainPacket.cpp')
-rw-r--r-- | plainPacket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plainPacket.cpp b/plainPacket.cpp index d915a30..a592d38 100644 --- a/plainPacket.cpp +++ b/plainPacket.cpp @@ -73,7 +73,7 @@ payload_type_t PlainPacket::getPayloadType() const void PlainPacket::setPayloadType(payload_type_t payload_type) { - payload_type = PAYLOAD_TYPE_T_HTON(payload_type); + payload_type_ = PAYLOAD_TYPE_T_HTON(payload_type); } void PlainPacket::setLength(u_int32_t length) |