diff options
author | eivind <eivind@FreeBSD.org> | 1998-01-11 18:34:38 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-01-11 18:34:38 +0000 |
commit | 9389702192e1e22dca69679abd75703208e3ee2b (patch) | |
tree | a8cb23b51ff07060db2beb53a1f28226a0b79b24 | |
parent | 5ce279eae3a5558f36786bea83d86f0f02038aba (diff) | |
download | FreeBSD-src-9389702192e1e22dca69679abd75703208e3ee2b.zip FreeBSD-src-9389702192e1e22dca69679abd75703208e3ee2b.tar.gz |
Remove use of <osreldate.h>.
Screwed up by: myself
-rw-r--r-- | lib/libalias/alias_db.c | 6 | ||||
-rw-r--r-- | sys/netinet/libalias/alias_db.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/lib/libalias/alias_db.c b/lib/libalias/alias_db.c index b07688f..fac7ece 100644 --- a/lib/libalias/alias_db.c +++ b/lib/libalias/alias_db.c @@ -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; diff --git a/sys/netinet/libalias/alias_db.c b/sys/netinet/libalias/alias_db.c index b07688f..fac7ece 100644 --- a/sys/netinet/libalias/alias_db.c +++ b/sys/netinet/libalias/alias_db.c @@ -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; |