summaryrefslogtreecommitdiff
path: root/plainPacket.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-02-04 17:51:23 +0000
committerChristian Pointner <equinox@anytun.org>2008-02-04 17:51:23 +0000
commit1c01d96cb17d8d75e52c2b7d1bdb1354023fa1b4 (patch)
tree132d78190db2bf09eb98f2c9e412bc5879cd3793 /plainPacket.cpp
parentfinallly working, payload type needs further checks (diff)
fixed set payload type @ plainpacket
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 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)