l2tpd_data: add l2c as private data to fsm

This commit is contained in:
Alexander Couzens 2016-10-24 04:08:30 +02:00 committed by Harald Welte
parent 8eaf1a5a33
commit c4829beac5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ l2tpd_cc_alloc(struct l2tpd_instance *l2i)
l2c->local.ccid = l2i->next_l_cc_id++;
llist_add(&l2c->list, &l2i->connections);
l2c->fsm = osmo_fsm_inst_alloc(&l2tp_cc_fsm, l2c, NULL, LOGL_DEBUG, NULL);
l2c->fsm = osmo_fsm_inst_alloc(&l2tp_cc_fsm, l2c, l2c, LOGL_DEBUG, NULL);
return l2c;
}