summaryrefslogtreecommitdiff
path: root/dev/etherpkt.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/etherpkt.cc')
-rw-r--r--dev/etherpkt.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev/etherpkt.cc b/dev/etherpkt.cc
index 5dee7dc0d..44dbd7c18 100644
--- a/dev/etherpkt.cc
+++ b/dev/etherpkt.cc
@@ -38,6 +38,7 @@ void
PacketData::serialize(const string &base, ostream &os)
{
paramOut(os, base + ".length", length);
+ paramOut(os, base + ".slack", slack);
arrayParamOut(os, base + ".data", data, length);
}
@@ -46,6 +47,7 @@ PacketData::unserialize(const string &base, Checkpoint *cp,
const string &section)
{
paramIn(cp, section, base + ".length", length);
+ paramIn(cp, section, base + ".slack", slack);
if (length)
arrayParamIn(cp, section, base + ".data", data, length);
}