diff options
author | deraadt <deraadt@openbsd.org> | 2006-12-25 08:17:17 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2006-12-25 08:17:17 +0000 |
commit | a2ed52f205b3c46c8a51df92071dc6e6ce1a79f6 (patch) | |
tree | 17666de421aa7df8e0a606ab81f3a5de846bcf6e /usr.sbin/sasyncd | |
parent | remove some junk (diff) | |
download | wireguard-openbsd-a2ed52f205b3c46c8a51df92071dc6e6ce1a79f6.tar.xz wireguard-openbsd-a2ed52f205b3c46c8a51df92071dc6e6ce1a79f6.zip |
spacing
Diffstat (limited to 'usr.sbin/sasyncd')
-rw-r--r-- | usr.sbin/sasyncd/monitor.c | 4 | ||||
-rw-r--r-- | usr.sbin/sasyncd/sasyncd.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sasyncd/monitor.c b/usr.sbin/sasyncd/monitor.c index 5b87dbeefd3..45072e7463e 100644 --- a/usr.sbin/sasyncd/monitor.c +++ b/usr.sbin/sasyncd/monitor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.11 2006/09/01 01:13:25 mpf Exp $ */ +/* $OpenBSD: monitor.c,v 1.12 2006/12/25 08:17:17 deraadt Exp $ */ /* * Copyright (c) 2005 Håkan Olsson. All rights reserved. @@ -290,7 +290,7 @@ monitor_get_pfkey_snap(u_int8_t **sadb, u_int32_t *sadbsize, u_int8_t **spd, int monitor_isakmpd_active(int active) { - u_int32_t cmd = + u_int32_t cmd = active ? MONITOR_ISAKMPD_ACTIVATE : MONITOR_ISAKMPD_PASSIVATE; if (write(m_state.s, &cmd, sizeof cmd) < 1) return -1; diff --git a/usr.sbin/sasyncd/sasyncd.h b/usr.sbin/sasyncd/sasyncd.h index 979b97d9089..566a0ef5a5e 100644 --- a/usr.sbin/sasyncd/sasyncd.h +++ b/usr.sbin/sasyncd/sasyncd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sasyncd.h,v 1.12 2006/12/24 05:01:08 msf Exp $ */ +/* $OpenBSD: sasyncd.h,v 1.13 2006/12/25 08:17:17 deraadt Exp $ */ /* * Copyright (c) 2005 Håkan Olsson. All rights reserved. @@ -102,7 +102,7 @@ extern int carp_demoted; #define CARP_DEMOTE_MAXTIME 60 /* conf.c */ -int conf_parse_file(char *); +int conf_parse_file(char *); /* carp.c */ int carp_init(void); |