summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2009-01-28 17:57:16 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2009-01-28 17:57:16 +0000
commit942fea019b9ed49b2dae173707a5ca9c3640c60e (patch)
tree8b4e6338ff4dc16c037168a05bd42f93d936ce75 /sbin/isakmpd
parentf71aa9f0d880ba89e8b84746c193ef1f1bbb6604 (diff)
cleaning up my tree: trivial KNF and a comment fix.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/pf_key_v2.c5
-rw-r--r--sbin/isakmpd/virtual.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/sbin/isakmpd/pf_key_v2.c b/sbin/isakmpd/pf_key_v2.c
index 00e22ca0085..fc7b970a455 100644
--- a/sbin/isakmpd/pf_key_v2.c
+++ b/sbin/isakmpd/pf_key_v2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_key_v2.c,v 1.184 2008/07/01 15:00:53 bluhm Exp $ */
+/* $OpenBSD: pf_key_v2.c,v 1.185 2009/01/28 17:57:15 hshoexer Exp $ */
/* $EOM: pf_key_v2.c,v 1.79 2000/12/12 00:33:19 niklas Exp $ */
/*
@@ -577,8 +577,7 @@ pf_key_v2_get_spi(size_t *sz, u_int8_t proto, struct sockaddr *src,
goto cleanup;
addr = 0;
- len =
- sizeof(struct sadb_address) + PF_KEY_V2_ROUND(SA_LEN(dst));
+ len = sizeof(struct sadb_address) + PF_KEY_V2_ROUND(SA_LEN(dst));
addr = calloc(1, len);
if (!addr)
goto cleanup;
diff --git a/sbin/isakmpd/virtual.c b/sbin/isakmpd/virtual.c
index 8d60cf24089..86622fdcf85 100644
--- a/sbin/isakmpd/virtual.c
+++ b/sbin/isakmpd/virtual.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtual.c,v 1.29 2008/10/21 13:32:56 markus Exp $ */
+/* $OpenBSD: virtual.c,v 1.30 2009/01/28 17:57:15 hshoexer Exp $ */
/*
* Copyright (c) 2004 Håkan Olsson. All rights reserved.
@@ -156,7 +156,7 @@ virtual_get_default(sa_family_t af)
*
* At the same time, we try to determine whether existing interfaces have
* been rendered invalid; we do this by marking all virtual transports before
- * we call virtual_bind_if () through if_map (), and then releasing those
+ * we call virtual_bind_if() through if_map(), and then releasing those
* transports that have not been unmarked.
*/
void