Re: missing RTMGRP_***_ROUTE notifications on ifdown
From: David S. Miller
Date: Sun Feb 29 2004 - 00:44:00 EST
On Thu, 19 Feb 2004 12:16:22 +0100
John Williams Floroiu <floroiu@xxxxxxxxxxxxxxxxxxx> wrote:
> > Clients which wish to hear about this event listen on RTMGRP_LINK.
> my application has some peculiar requirements. among others it needs
> to know which routes disappear following the switch off of an
> interface. RTMGRP_LINK tells you which interface goes down, but not
> also the routes that used to go through it. and it is also not
> possible to learn afterwards which routes used to exit through that
> interface, as the routes are already deleted.
And when these link local routes are deleted, rtnetlink messages should
be generated for each one. You should listen to the route group as well
as the link group to get all of the events.
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html