svn commit: r186726 - user/piso/sys/netinet
Paolo Pisati
piso at FreeBSD.org
Sat Jan 3 09:22:06 PST 2009
Author: piso
Date: Sat Jan 3 17:22:05 2009
New Revision: 186726
URL: http://svn.freebsd.org/changeset/base/186726
Log:
-get rid of #ifdef _ALIAS_SCTP
-white space
Modified:
user/piso/sys/netinet/ip_fw_nat.c
Modified: user/piso/sys/netinet/ip_fw_nat.c
==============================================================================
--- user/piso/sys/netinet/ip_fw_nat.c Sat Jan 3 17:13:37 2009 (r186725)
+++ user/piso/sys/netinet/ip_fw_nat.c Sat Jan 3 17:22:05 2009 (r186726)
@@ -326,12 +326,10 @@ ipfw_nat(struct ip_fw_args *args, struct
else
retval = LibAliasOut(t->lib, c,
mcl->m_len + M_TRAILINGSPACE(mcl));
-#ifdef _ALIAS_SCTP
if (retval == PKT_ALIAS_RESPOND) {
m->m_flags |= M_SKIP_FIREWALL;
retval = PKT_ALIAS_OK;
}
-#endif
if (retval != PKT_ALIAS_OK &&
retval != PKT_ALIAS_FOUND_HEADER_FRAGMENT) {
/* XXX - should i add some logging? */
@@ -407,7 +405,6 @@ ipfw_nat(struct ip_fw_args *args, struct
}
args->m = mcl;
-
return (IP_FW_NAT);
}
More information about the svn-src-user
mailing list