summaryrefslogtreecommitdiff
path: root/src/lib/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sockets.c')
-rw-r--r--src/lib/sockets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/sockets.c b/src/lib/sockets.c
index 90117c5c..59ac40f9 100644
--- a/src/lib/sockets.c
+++ b/src/lib/sockets.c
@@ -338,6 +338,7 @@ struct irm_msg * deserialize_irm_msg(buffer_t * data)
case IRM_REG_IPCP:
case IRM_UNREG_IPCP:
deser_copy_size_t(data->data, &difs_size, &offset);
+ msg->difs_size = difs_size;
msg->difs = malloc(sizeof(*(msg->difs)) * difs_size);
if (msg->difs == NULL) {