summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedric <cedric@openbsd.org>2004-01-05 12:54:47 +0000
committercedric <cedric@openbsd.org>2004-01-05 12:54:47 +0000
commit00a4e537d22eb9cfda2f52517956d642598e12b7 (patch)
tree5f51ad8f19a2d38ee77cc0a4da40a7622193a58a
parent.Xr bgpctl (diff)
downloadwireguard-openbsd-00a4e537d22eb9cfda2f52517956d642598e12b7.tar.xz
wireguard-openbsd-00a4e537d22eb9cfda2f52517956d642598e12b7.zip
Repair merge errors. Thanks Pyun YongHyeon, Sorry Henning :)
-rw-r--r--sys/net/pf_ioctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 15ff41b7d42..4d425806ac3 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,7 +1,8 @@
-/* $OpenBSD: pf_ioctl.c,v 1.98 2003/12/31 22:14:42 deraadt Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.99 2004/01/05 12:54:47 cedric Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
+ * Copyright (c) 2002,2003 Henning Brauer
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -1230,7 +1231,9 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
pf_purge_expired_states();
pf_status.states = 0;
splx(s);
+#if NPFSYNC
pfsync_clear_states(pf_status.hostid);
+#endif
break;
}