How about this in your plugin ? (Typed on iPhone so not directly copypasteable)

static int registered_id = -1;

void My_feature_enable () {
....
If (-1 == registered_id) {
   registered_id = acl_plugin_register(“me myself and I”);
}
...
}



--a

> On 4 Jun 2019, at 13:00, Satya Murthy <satyamurthy1...@gmail.com> wrote:
> 
> Thanks Ben.
> 
> Do you see any other way to achieve this order in previous versions of the 
> code.
> 
> -- 
> Thanks & Regards,
> Murthy
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#13213): https://lists.fd.io/g/vpp-dev/message/13213
> Mute This Topic: https://lists.fd.io/mt/31878554/675608
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [ayour...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13215): https://lists.fd.io/g/vpp-dev/message/13215
Mute This Topic: https://lists.fd.io/mt/31878554/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to