diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-05-30 17:44:36 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-05-30 17:44:36 +0000 |
commit | 04736e8a5c4c9204604eac7d8bf55d82d1496563 (patch) | |
tree | a1580ee07b6562b2316e53e79e58c423b082e104 /sbin/iked/ikev2.c | |
parent | 5624b8ad5898caa388cf6fb6c4f0c8e9d4d80b35 (diff) |
Indentation style(9).
Diffstat (limited to 'sbin/iked/ikev2.c')
-rw-r--r-- | sbin/iked/ikev2.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index 20464dcc1be..01b70862afc 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.227 2020/05/28 19:09:31 tobhe Exp $ */ +/* $OpenBSD: ikev2.c,v 1.228 2020/05/30 17:44:35 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -6168,16 +6168,16 @@ ikev2_cp_setaddr(struct iked *env, struct iked_sa *sa, sa_family_t family) size_t i; switch (family) { - case AF_INET: - if (sa->sa_addrpool) - return (0); - break; - case AF_INET6: - if (sa->sa_addrpool6) - return (0); - break; - default: - return (-1); + case AF_INET: + if (sa->sa_addrpool) + return (0); + break; + case AF_INET6: + if (sa->sa_addrpool6) + return (0); + break; + default: + return (-1); } if (pol->pol_ncfg == 0) return (0); |