From 1d0b9e81ef6f19d1a9e7e4e43e26c5d264096e72 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 1 Jun 2006 06:50:59 +0000 Subject: spacing --- sbin/ipsecctl/parse.y | 4 ++-- sbin/ipsecctl/pfkdump.c | 6 +++--- sbin/ipsecctl/pfkey.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y index 3f41d85e5f0..806c8ecde85 100644 --- a/sbin/ipsecctl/parse.y +++ b/sbin/ipsecctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.85 2006/06/01 05:55:04 hshoexer Exp $ */ +/* $OpenBSD: parse.y,v 1.86 2006/06/01 06:50:58 deraadt Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer @@ -1251,7 +1251,7 @@ host_v6(const char *s, int prefixlen) { struct ipsec_addr_wrap *ipa = NULL; struct addrinfo hints, *res0, *res; - char hbuf[NI_MAXHOST]; + char hbuf[NI_MAXHOST]; bzero(&hints, sizeof(struct addrinfo)); hints.ai_family = PF_UNSPEC; diff --git a/sbin/ipsecctl/pfkdump.c b/sbin/ipsecctl/pfkdump.c index 4a3c791bf39..358b2035afc 100644 --- a/sbin/ipsecctl/pfkdump.c +++ b/sbin/ipsecctl/pfkdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkdump.c,v 1.13 2006/05/31 05:38:45 hshoexer Exp $ */ +/* $OpenBSD: pfkdump.c,v 1.14 2006/06/01 06:50:58 deraadt Exp $ */ /* * Copyright (c) 2003 Markus Friedl. All rights reserved. @@ -577,7 +577,7 @@ pfkey_print_sa(struct sadb_msg *msg, int opts) for (i = 0; i < SADB_EXT_MAX; i++) if (extensions[i]) print_ext(extensions[i], msg, opts); - + fflush(stdout); } @@ -649,7 +649,7 @@ pfkey_print_raw(u_int8_t *data, ssize_t len) { int i; const u_int8_t *sp = (const u_int8_t *)data; - + printf("RAW PFKEYV2 MESSAGE:\n"); for(i = 0; i < len; i++) { if ((i % 8 == 0) && (i != 0)) diff --git a/sbin/ipsecctl/pfkey.h b/sbin/ipsecctl/pfkey.h index e4a46654a30..9ae2bd0d925 100644 --- a/sbin/ipsecctl/pfkey.h +++ b/sbin/ipsecctl/pfkey.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkey.h,v 1.5 2006/05/30 21:56:05 msf Exp $ */ +/* $OpenBSD: pfkey.h,v 1.6 2006/06/01 06:50:58 deraadt Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer * @@ -23,7 +23,7 @@ int pfkey_parse(struct sadb_msg *, struct ipsec_rule *); void pfkey_print_sa(struct sadb_msg *, int); void pfkey_monitor_sa(struct sadb_msg *, int); -void pfkey_print_raw(u_int8_t *, ssize_t); +void pfkey_print_raw(u_int8_t *, ssize_t); int pfkey_ipsec_establish(int, struct ipsec_rule *); int pfkey_ipsec_flush(void); int pfkey_init(void); -- cgit v1.2.3