summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/dpd.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2006-07-24 11:45:45 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2006-07-24 11:45:45 +0000
commit4ecfd7b0cfb81bfa6a3c6eca068e810c9c226e9c (patch)
treeb6560965ae071667873d56225919640309769689 /sbin/isakmpd/dpd.c
parent3c1b5d0d99ec992fdcb5243cd845b810c0a95b51 (diff)
Style; return is not a function. hshoexer@ ok.
Diffstat (limited to 'sbin/isakmpd/dpd.c')
-rw-r--r--sbin/isakmpd/dpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/dpd.c b/sbin/isakmpd/dpd.c
index 66a1ca2a69b..48ae10f2267 100644
--- a/sbin/isakmpd/dpd.c
+++ b/sbin/isakmpd/dpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dpd.c,v 1.15 2006/06/02 19:35:55 hshoexer Exp $ */
+/* $OpenBSD: dpd.c,v 1.16 2006/07/24 11:45:44 ho Exp $ */
/*
* Copyright (c) 2004 Håkan Olsson. All rights reserved.
@@ -250,7 +250,7 @@ dpd_find_sa(struct sa *sa, void *v_sa)
struct sa *isakmp_sa = v_sa;
if (!isakmp_sa->id_i || !isakmp_sa->id_r)
- return (0);
+ return 0;
return (sa->phase == 2 && (sa->flags & SA_FLAG_READY) &&
memcmp(sa->id_i, isakmp_sa->id_i, sa->id_i_len) == 0 &&
memcmp(sa->id_r, isakmp_sa->id_r, sa->id_r_len) == 0);