From e07b6aa29d06e6effef2610b32d4218dc4831d2f Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Mon, 11 Jan 2010 00:19:12 +0000 Subject: remove some debug code that snuck in somehow. --- sys/net/if_pfsync.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'sys') diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c index ebfe8f27640..34374494af1 100644 --- a/sys/net/if_pfsync.c +++ b/sys/net/if_pfsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pfsync.c,v 1.136 2010/01/10 23:54:21 dlg Exp $ */ +/* $OpenBSD: if_pfsync.c,v 1.137 2010/01/11 00:19:11 dlg Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -1878,8 +1878,6 @@ pfsync_deferred(struct pf_state *st, int drop) panic("pfsync_send_deferred: unable to find deferred state"); } -u_int pfsync_upds = 0; - void pfsync_update_state(struct pf_state *st) { @@ -1927,10 +1925,8 @@ pfsync_update_state(struct pf_state *st) st->sync_state); } - if (sync || (time_uptime - st->pfsync_time) < 2) { - pfsync_upds++; + if (sync || (time_uptime - st->pfsync_time) < 2) schednetisr(NETISR_PFSYNC); - } } void -- cgit v1.2.3