Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2000 10:47:05 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        "gbnaidu  " <gbnaidu@my-deja.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: How to get outgoing interface...
Message-ID:  <200002081547.KAA33886@khavrinen.lcs.mit.edu>
In-Reply-To: <FJAFCGAFOGHALBAA@my-deja.com>
References:  <FJAFCGAFOGHALBAA@my-deja.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 07 Feb 2000 21:29:55 -0800, "gbnaidu  " <gbnaidu@my-deja.com> said:

> if ( (sa = rti_info[RTAX_DST]) != NULL) { process the destination address;

Stop right there.  The routing message isn't in this format.

See the code Brian Somers pointed out, or route.c, for an example of
how to interpret a routing message.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002081547.KAA33886>