Date: Sat, 30 Jun 2001 12:15:00 -0700 From: "Crist J. Clark" <cristjc@earthlink.net> To: freebsd-ipfw@freebsd.org Subject: BRIDGE in ip_fw.c Message-ID: <20010630121500.F348@blossom.cjclark.org>
next in thread | raw e-mail | index | archive | help
I am about to put some fixes/enhancements up for review before
committing them to CURRENT. Before I do that, I need have a question
about some of the code in ip_fw.c,
if (0 && BRIDGED) { /* not yet... */
offset = (ntohs(ip->ip_off) & IP_OFFMASK);
ip_len = ntohs(ip->ip_len);
} else {
offset = (ip->ip_off & IP_OFFMASK);
ip_len = ip->ip_len;
}
What's the deal with that zeroed out code? (And wouldn't it be better
form to zero it out in the preprocessor?)
--
Crist J. Clark cjclark@alum.mit.edu
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010630121500.F348>
