1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Make the port work with FreeBSD 9.x and later.

Due to changes in pf, expiretable wouldn't work on FreeBSD 9.x.

PR:		ports/175527
Submitted by:	Cristiano Deana <cris@gufi.org> (maintainer)
This commit is contained in:
Raphael Kubo da Costa 2013-06-22 21:11:40 +00:00
parent 2f1a8481d2
commit eccc66583e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321592
2 changed files with 12 additions and 5 deletions

View File

@ -1,12 +1,9 @@
# New ports collection makefile for: expiretable
# Date created: 7 January 2006
# Whom: Cristiano Deana <cris@gufi.org>
#
# Created by: Cristiano Deana <cris@gufi.org>
# $FreeBSD$
#
PORTNAME= expiretable
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://expiretable.fnord.se/

View File

@ -0,0 +1,10 @@
--- expiretable.c.orig 2013-01-23 11:56:08.000000000 +0100
+++ expiretable.c 2013-01-23 11:56:26.000000000 +0100
@@ -290,6 +290,7 @@
for (i = 0; i < astats_count; i++) {
if (astats[i].pfras_tzero <= min_timestamp) {
del_addrs_list[del_addrs_count] = astats[i].pfras_a;
+ del_addrs_list[del_addrs_count].pfra_fback = 0;
del_addrs_count++;
}
}