[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: system/3704: routed has byte ordering issues on non-network
The following reply was made to PR system/3704; it has been noted by GNATS.
From: firstname.lastname@example.org (Don Kindred)
To: email@example.com (Otto Moerbeek)
Subject: Re: system/3704: routed has byte ordering issues on non-network
Date: Wed, 10 Mar 2004 14:43:37 -0500 (EST)
> - Please send unified diffs (diff -u), they are much easier to read.
> - Your diff makes routed deviate from both NetBSD and FreeBSD. Below is a
> diff based on NetBSD, which should solve your problem, leaving the
> arguments to getnet() both in host byte order. FreeBSD contains similar
> changes. As you can read from getnetbyname(3), networks numbers are
> normally processed in host byte order. Please test (also the gateway file
> and the -F option) and report back.
I tested your patch. It works (both -p directive and gateways
file). Your patch is indeed the better patch.
After reading the manpage 3 times I think I finally understand
what the -F option is supposed to do. I tested the -F option
with your patch and it seems to do what the manpage documents.
(Normally I don't use the -F option.)
Thanks for your quick response and resolution! I would have
gotten back to you sooner, but I was out of town yesterday.
Don Kindred | Email: firstname.lastname@example.org
AgIT, Purdue University | Phone: (765)496-6806