diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2010-06-29 21:25:38 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2010-06-29 21:25:38 +0000 |
commit | b36048c1e3bdaa8bdd0635d1289bb28fd814ecdb (patch) | |
tree | af91b6d030c820fff02ad3b7664f319b57bfd9d4 /usr.sbin | |
parent | d7d68051ac67147ca3275481f2e6b8b3fb48951f (diff) |
Fix an obviously wrong comment. ok reyk@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sasyncd/carp.c | 4 |
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) { |