[ECOS] Re: How to deconfigure an interface?
Tue Sep 1 13:59:00 GMT 2009
Stanislav Meduna wrote:
> Tarmo Kuuse wrote:
>> Another task which needs doing is clearing the routes table. There
>> exists a function "cyg_route_reinit()" which simply flushes all routes.
>> Unfortunately it also deletes routes for the local loopback and all
>> other interfaces you may have. I haven't yet figured out how to delete
>> the routes only for a given interface.
> I added such a function, it seems to work.
Thank you, that was a very handy piece of code.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss