[Olsr-dev] wish: hook for change of default route
Henning Rogge
(spam-protected)
Thu Jun 16 09:24:01 CEST 2011
On Thu June 16 2011 09:12:07 Bastian Bittorf wrote:
> yes, i can manually this monitor it by
>
> ip monitor route | grep ^default
>
> but i like to have a hook fired, if olsr
> internally detects a change. olsr should
> call a defineable user-script with the
> new IP as argument.
This could be done in the stable by registering a pcf function, which can be
used to detect when the routing table has been recalculated. The callback then
could compare the current default route with the last one.
> this should be in core, not a module IMHO.
Is there a reason why you think this should be in the core and not in a
plugin?
Henning Rogge
--
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961, Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20110616/0b36d31b/attachment.sig>
More information about the Olsr-dev
mailing list