summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/ike.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2006-11-01 03:12:15 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2006-11-01 03:12:15 +0000
commit901f9a7ad8984911e36db6daaf51b2249132c968 (patch)
tree55da55d5f745eaf24a5e79b605c54edede2cc4be /sbin/ipsecctl/ike.c
parent037e3c4e84775802702128873f541a1042e02edc (diff)
KNF unrelated to previous commit.
Diffstat (limited to 'sbin/ipsecctl/ike.c')
-rw-r--r--sbin/ipsecctl/ike.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/ipsecctl/ike.c b/sbin/ipsecctl/ike.c
index df5bf79f86f..c04104d6c07 100644
--- a/sbin/ipsecctl/ike.c
+++ b/sbin/ipsecctl/ike.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike.c,v 1.51 2006/11/01 03:10:02 mcbride Exp $ */
+/* $OpenBSD: ike.c,v 1.52 2006/11/01 03:12:14 mcbride Exp $ */
/*
* Copyright (c) 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -553,8 +553,10 @@ ike_section_p2ids(u_int8_t proto, struct ipsec_addr_wrap *src,
dst->name);
}
if (proto) {
- fprintf(fd, SET "[lid-%s]:Protocol=%d force\n", src->name, proto);
- fprintf(fd, SET "[rid-%s]:Protocol=%d force\n", dst->name, proto);
+ fprintf(fd, SET "[lid-%s]:Protocol=%d force\n",
+ src->name, proto);
+ fprintf(fd, SET "[rid-%s]:Protocol=%d force\n",
+ dst->name, proto);
}
if (sport)
fprintf(fd, SET "[lid-%s]:Port=%d force\n", src->name,