This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to deconfigure an interface?


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.


--
Kind regards,
Tarmo Kuuse


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]