Remove use of <osreldate.h>.

Screwed up by: myself
This commit is contained in:
Eivind Eklund 1998-01-11 18:34:38 +00:00
parent cc924f9e6f
commit 58ba5f4a30
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32443
2 changed files with 0 additions and 12 deletions

View File

@ -116,7 +116,6 @@
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include <osreldate.h>
/* BSD network include files */
#include <netinet/in_systm.h>
@ -2155,12 +2154,7 @@ PunchFWHole(struct alias_link *link) {
/* Build generic part of the two rules */
rule.fw_number = fwhole;
#if __FreeBSD_version < 300000
rule.fw_nsp = 1; /* 1 source port */
rule.fw_ndp = 1; /* 1 destination port */
#else
rule.fw_nports = 1; /* Number of source ports; dest ports follow */
#endif
rule.fw_flg = IP_FW_F_ACCEPT;
rule.fw_prot = IPPROTO_TCP;
rule.fw_smsk.s_addr = INADDR_BROADCAST;

View File

@ -116,7 +116,6 @@
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include <osreldate.h>
/* BSD network include files */
#include <netinet/in_systm.h>
@ -2155,12 +2154,7 @@ PunchFWHole(struct alias_link *link) {
/* Build generic part of the two rules */
rule.fw_number = fwhole;
#if __FreeBSD_version < 300000
rule.fw_nsp = 1; /* 1 source port */
rule.fw_ndp = 1; /* 1 destination port */
#else
rule.fw_nports = 1; /* Number of source ports; dest ports follow */
#endif
rule.fw_flg = IP_FW_F_ACCEPT;
rule.fw_prot = IPPROTO_TCP;
rule.fw_smsk.s_addr = INADDR_BROADCAST;