forked from acouzens/open5gs
Oops! MacOSX is not working due to previous commit!
So I've fixed it right now.
This commit is contained in:
parent
18c483950c
commit
83388cf504
|
@ -128,7 +128,7 @@ void amf_sctp_event_push(amf_event_e id,
|
|||
}
|
||||
#if HAVE_USRSCTP
|
||||
else {
|
||||
ogs_pollset_notify(amf_self()->pollset);
|
||||
ogs_pollset_notify(ogs_app()->pollset);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -44,7 +44,13 @@ void upf_event_init(void)
|
|||
ogs_pool_init(&pool, ogs_app()->pool.event);
|
||||
|
||||
#if defined(HAVE_KQUEUE)
|
||||
ogs_assert(ogs_app()->pollset);
|
||||
ogs_pollset_destroy(ogs_app()->pollset);
|
||||
|
||||
pollset_action_setup();
|
||||
|
||||
ogs_app()->pollset = ogs_pollset_create(ogs_app()->pool.socket);
|
||||
ogs_assert(ogs_app()->pollset);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue