summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sasyncd
diff options
context:
space:
mode:
authorkjell <kjell@openbsd.org>2010-06-29 21:25:37 +0000
committerkjell <kjell@openbsd.org>2010-06-29 21:25:37 +0000
commitb2e45d6278b4e06691eb2eb4bf4f74e30147b182 (patch)
treef33c2a8ee35c7c35a61068da92a9df1f41a8b6aa /usr.sbin/sasyncd
parentAdd PADDR_IS_DMA_REACHABLE macro so art stops whining (diff)
downloadwireguard-openbsd-b2e45d6278b4e06691eb2eb4bf4f74e30147b182.tar.xz
wireguard-openbsd-b2e45d6278b4e06691eb2eb4bf4f74e30147b182.zip
Fix an obviously wrong comment. ok reyk@
Diffstat (limited to 'usr.sbin/sasyncd')
-rw-r--r--usr.sbin/sasyncd/carp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sasyncd/carp.c b/usr.sbin/sasyncd/carp.c
index 85bed1bab0a..b89c3a53270 100644
--- a/usr.sbin/sasyncd/carp.c
+++ b/usr.sbin/sasyncd/carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: carp.c,v 1.11 2010/06/16 17:39:05 reyk Exp $ */
+/* $OpenBSD: carp.c,v 1.12 2010/06/29 21:25:37 kjell Exp $ */
/*
* Copyright (c) 2005 Håkan Olsson. All rights reserved.
@@ -46,6 +46,7 @@
int carp_demoted = 0;
+/* Map CARP interface link state into RUNSTATE enum */
static enum RUNSTATE
carp_map_state(u_char link_state)
{
@@ -68,7 +69,6 @@ carp_map_state(u_char link_state)
return state;
}
-/* Returns 1 for the CARP MASTER, 0 for BACKUP/INIT, -1 on error. */
static enum RUNSTATE
carp_get_state(char *ifname)
{