diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-01-11 00:19:12 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-01-11 00:19:12 +0000 |
commit | e07b6aa29d06e6effef2610b32d4218dc4831d2f (patch) | |
tree | 2f2c216863e1ce3af16fe37b7f3d59981aef0c11 /sys/net | |
parent | b00143e86b80f1a913de6aba6443f4dd9965d3d1 (diff) |
remove some debug code that snuck in somehow.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_pfsync.c | 8 |
1 files changed, 2 insertions, 6 deletions
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 |