summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/dpd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-08 19:11:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-08 19:11:07 +0000
commitfe20a59c2f21da8587f57d524d1e231bcbb40838 (patch)
tree5443651e9bdfa49ff1836a41e006395db1ffbe99 /sbin/isakmpd/dpd.c
parent1499b7cac95c6a5e2e57f6179505336da5eabe2d (diff)
spacing
Diffstat (limited to 'sbin/isakmpd/dpd.c')
-rw-r--r--sbin/isakmpd/dpd.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sbin/isakmpd/dpd.c b/sbin/isakmpd/dpd.c
index 9621fa1b23b..3bbaf05109d 100644
--- a/sbin/isakmpd/dpd.c
+++ b/sbin/isakmpd/dpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dpd.c,v 1.2 2004/06/20 17:17:34 ho Exp $ */
+/* $OpenBSD: dpd.c,v 1.3 2004/08/08 19:11:06 deraadt Exp $ */
/*
* Copyright (c) 2004 Håkan Olsson. All rights reserved.
@@ -243,7 +243,7 @@ dpd_initiator_recv_ack(struct message *msg)
isakmp_sa->dpd_nextev = timer_add_event("dpd_event", dpd_event,
isakmp_sa, &tv);
- if (!isakmp_sa->dpd_nextev)
+ if (!isakmp_sa->dpd_nextev)
log_print("dpd_initiator_recv_ack: timer_add_event "
"failed");
else
@@ -269,7 +269,7 @@ dpd_responder_recv_notify(struct message *msg)
return -1;
}
- if (GET_ISAKMP_NOTIFY_MSG_TYPE(p->p) !=
+ if (GET_ISAKMP_NOTIFY_MSG_TYPE(p->p) !=
ISAKMP_NOTIFY_STATUS_DPD_R_U_THERE) {
message_drop(msg, ISAKMP_NOTIFY_PAYLOAD_MALFORMED, 0, 1, 0);
return -1;
@@ -313,7 +313,7 @@ dpd_responder_recv_notify(struct message *msg)
isakmp_sa->dpd_nextev = timer_add_event("dpd_event", dpd_event,
isakmp_sa, &tv);
- if (!isakmp_sa->dpd_nextev)
+ if (!isakmp_sa->dpd_nextev)
log_print("dpd_responder_recv_notify: timer_add_event "
"failed");
else
@@ -349,4 +349,3 @@ dpd_event(void *v_sa)
/* Create a new DPD exchange. XXX */
}
-