[strongSwan-dev] [PATCH] vici: add support for SA updown notifications

Martin Willi martin at strongswan.org
Wed Aug 27 10:07:09 CEST 2014


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




More information about the Dev mailing list