summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msgb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/msgb.c b/src/msgb.c
index 9117a0ad..a60e2ffa 100644
--- a/src/msgb.c
+++ b/src/msgb.c
@@ -85,4 +85,6 @@ void msgb_reset(struct msgb *msg)
msg->l2h = NULL;
msg->l3h = NULL;
msg->l4h = NULL;
+
+ memset(&msg->cb, 0, sizeof(msg->cb));
}