ports/security/expiretable/files/patch-expiretable
Raphael Kubo da Costa eccc66583e 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)
2013-06-22 21:11:40 +00:00

10 lines
376 B
Text

--- 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++;
}
}