ipfilter: Fixup comment
Fix comment documenting checksum block in ip_nat.c. Fastforward doesn't perform checksum. MFC after: 1 week
This commit is contained in:
@@ -5021,10 +5021,8 @@ ipf_nat_out(fr_info_t *fin, nat_t *nat, int natadd, u_32_t nflags)
|
|||||||
defined(BRIDGE_IPF) || defined(__FreeBSD__)
|
defined(BRIDGE_IPF) || defined(__FreeBSD__)
|
||||||
else {
|
else {
|
||||||
/*
|
/*
|
||||||
* Strictly speaking, this isn't necessary on BSD
|
* We always do this on FreeBSD because this code doesn't
|
||||||
* kernels because they do checksum calculation after
|
* exist in fastforward.
|
||||||
* this code has run BUT if ipfilter is being used
|
|
||||||
* to do NAT as a bridge, that code doesn't exist.
|
|
||||||
*/
|
*/
|
||||||
switch (nat->nat_dir)
|
switch (nat->nat_dir)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user