summaryrefslogtreecommitdiff
path: root/plainPacket.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-02-04 17:54:04 +0000
committerChristian Pointner <equinox@anytun.org>2008-02-04 17:54:04 +0000
commita65b053a15203b5e785eeb6593b12c8edcf48d7a (patch)
tree5b7c6d2315e914ba2b6779e39313fb6c5efc4237 /plainPacket.cpp
parentfixed set payload type @ plainpacket (diff)
sorry for not working checkin ;)
Diffstat (limited to 'plainPacket.cpp')
-rw-r--r--plainPacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plainPacket.cpp b/plainPacket.cpp
index a592d38..7baef0b 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)