diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-12-01 16:42:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-12-01 16:42:14 +0000 |
commit | 0cd7981796aec12e08aebbcfa1f9261d02eead4f (patch) | |
tree | b5413c289367d68918e901d4391584aa25cd9697 /sbin/iked/vroute.c | |
parent | 5c5ac9bf6824a286285b5c684059d4c656192580 (diff) |
whitespace cleanup during review read
Diffstat (limited to 'sbin/iked/vroute.c')
-rw-r--r-- | sbin/iked/vroute.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/iked/vroute.c b/sbin/iked/vroute.c index 1f2318939e4..d34f5de5ea2 100644 --- a/sbin/iked/vroute.c +++ b/sbin/iked/vroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vroute.c,v 1.14 2021/09/06 13:29:17 tobhe Exp $ */ +/* $OpenBSD: vroute.c,v 1.15 2021/12/01 16:42:13 deraadt Exp $ */ /* * Copyright (c) 2021 Tobias Heider <tobhe@openbsd.org> @@ -423,14 +423,14 @@ vroute_insertdns(struct iked *env, int ifidx, struct sockaddr *addr) { struct iked_vroute_sc *ivr = env->sc_vroute; struct vroute_dns *dns; - + dns = calloc(1, sizeof(*dns)); if (dns == NULL) fatalx("%s: calloc.", __func__); memcpy(&dns->vd_addr, addr, addr->sa_len); dns->vd_ifidx = ifidx; - + ivr->ivr_dns = dns; } |