Date: Mon, 16 Feb 2009 16:48:49 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet ip_fw2.c Message-ID: <200902161648.n1GGmv8J085224@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2009-02-16 16:48:49 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/netinet ip_fw2.c
Log:
SVN rev 188680 on 2009-02-16 16:48:49Z by luigi
various cleanup (mostly MFC, one not applicable to head):
- remove 3 unneeded headers (this is not applicable to head);
- replace netinet/if_ether.h with net/ethernet.h which is really needed;
- add missing #ifdef SYSCTL_NODE / #endif
- use the 'ch' argument instead of &layer3_chain when adding entries to
a table;
- remove an assigment within a conditional;
- properly initialize a couple of variables
- use a constant format string in a log message
- remove unnecessary braces and simplify the error
messages in IP_FW_NAT_* handler
Revision Changes Path
1.175.2.16 +40 -37 src/sys/netinet/ip_fw2.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902161648.n1GGmv8J085224>
