Date: Mon, 28 Feb 100 06:04:49 -0800 From: Rahul Dhesi <dhesi@rahul.net> To: freebsd-stable@freebsd.org Subject: Re: divert(4) non-working code example Message-ID: <20000228140450.4471C99DE4@waltz.rahul.net>
next in thread | raw e-mail | index | archive | help
I wrote: > The following is a relatively simple program that should read and write > divert-ed packets, without modifying them. But it never returns from the > recvfrom() system call. Any suggestions? Never mind! I searched old mailing list archives and found that I needed to do htons(port). What threw me off was that I was consulting the natd(8) sources and they didn't bother doing so. Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000228140450.4471C99DE4>