From 58ba5f4a30f7a5bc4cac8f16a74d434f3b31fafd Mon Sep 17 00:00:00 2001
From: Eivind Eklund <eivind@FreeBSD.org>
Date: Sun, 11 Jan 1998 18:34:38 +0000
Subject: [PATCH] Remove use of <osreldate.h>.

Screwed up by: myself
---
 lib/libalias/alias_db.c         | 6 ------
 sys/netinet/libalias/alias_db.c | 6 ------
 2 files changed, 12 deletions(-)

diff --git a/lib/libalias/alias_db.c b/lib/libalias/alias_db.c
index b07688f97a5b..fac7ece600ea 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 b07688f97a5b..fac7ece600ea 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;