I forgot to add: As encoding the updown events is rather expensive given
that it probably is a rarely used feature, we should skip the generation
step if we have no listeners.

I think it is rather trivial by adding something like
has_event_listeners(event_name) to vici_dispatcher_t, and check for that
in the listener hooks.

Regards
Martin


_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to