Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/net

On 05/03/10 23:04, Christoph Badura wrote:
On Sun, May 02, 2010 at 07:17:56PM +0000, Mihai Chelaru wrote:
Committed By:   kefren
Date:           Sun May  2 19:17:56 UTC 2010

Modified Files:
        src/sys/net: route.c rtsock.c

Log Message:
Permit the existence of a route with unlinked ifp and ifa,
enabling this way the posibility to send a packet on an interface with
source address from another interface.

What is this about?

Permits a route to be created using -ifa x.x.x.x -ifp if0 even if x.x.x.x is attached on a different interface. It's consistent with what route(5) states and doesn't ignore one of the parameters like until now.

Why is it necessary?

It's essential for my further work where I need to route packets to a pseudo-interface in order to encapsulate packets but without using that interface particular address.

Was it discussed somewhere?

Yes, but in private. I don't see it as a feature added but a bugfix so bringing it on tech-net@ was not necessary in my opinion.


Home | Main Index | Thread Index | Old Index