[Dibbler] Client-notify script to get invoked when assigned prefix expires in dibbler-client

Tomek Mrugalski thomson at klub.com.pl
Mon Jun 8 16:51:42 CEST 2020

On 08/06/2020 16:37, Deepak Krishnan wrote:

> On code analysis,found that *TClntTransMgr::removeExpired()* in
> *ClntTransMgr.cpp* is responsible for removal of expired addresses
> from the interface and its internal database.
> Could you please suggest on how to invoke the client-notify script
> from this portion of code ie.whenever an expire event occurs??

Take a look at TIfaceMgr::notifyScripts. This is how you can add
variables to the execution script. You can't use this method as it,
because there are no packets related to expiry. You'd probably need to
write similar code yourself.

Hope that helps,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://klub.com.pl/pipermail/dibbler/attachments/20200608/59d4c253/attachment.htm>

More information about the Dibbler mailing list