summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-10-31 17:37:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-10-31 17:37:12 +0000
commitdcf6a48a9260f8b700d4ca5add2c7d561274f88b (patch)
treebc5e1d408de1198cfd5669fb45b98412d305fb84 /sys
parent2355c662c63ae117c3eb1022fa87d0ba1d2b95c1 (diff)
hard to believe people still manage to commit non-compiling code once in a while
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_pfsync.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index 1410e2906cd..9685abf5e84 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.67 2006/10/31 14:49:01 henning Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.68 2006/10/31 17:37:11 deraadt Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -1086,9 +1086,8 @@ pfsync_pack_state(u_int8_t action, struct pf_state *st, int flags)
u_int8_t i = 255, newaction = 0;
if (sc == NULL)
- return (0)
- else
- ifp = &sc->sc_if;
+ return (0);
+ ifp = &sc->sc_if;
/*
* If a packet falls in the forest and there's nobody around to