From owner-freebsd-net Tue Feb 8 7:46:27 2000 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by builder.freebsd.org (Postfix) with ESMTP id DC055429F for ; Tue, 8 Feb 2000 07:46:18 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id KAA33886; Tue, 8 Feb 2000 10:47:05 -0500 (EST) (envelope-from wollman) Date: Tue, 8 Feb 2000 10:47:05 -0500 (EST) From: Garrett Wollman Message-Id: <200002081547.KAA33886@khavrinen.lcs.mit.edu> To: "gbnaidu " Cc: freebsd-net@FreeBSD.ORG Subject: Re: How to get outgoing interface... In-Reply-To: References: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < 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