diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2015-11-12 09:27:10 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2015-11-12 09:27:10 +0000 |
commit | b5759a00c51b1ad0d2e7116438d4be448693785c (patch) | |
tree | 12c9590dc9f1b21a9a2e3369d925215fddc6eda4 /usr.sbin/sasyncd | |
parent | eaa52fb80f637a326deea712ba7124edd26aa9ee (diff) |
an invalid carp link state is not a fatal error, since a while newly created
carp interfaces have this state for a while. ok mpi@ phessler@
Diffstat (limited to 'usr.sbin/sasyncd')
-rw-r--r-- | usr.sbin/sasyncd/carp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sasyncd/carp.c b/usr.sbin/sasyncd/carp.c index a56daeda475..7a4eb11fdd8 100644 --- a/usr.sbin/sasyncd/carp.c +++ b/usr.sbin/sasyncd/carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: carp.c,v 1.13 2012/04/14 11:46:09 haesbaert Exp $ */ +/* $OpenBSD: carp.c,v 1.14 2015/11/12 09:27:09 otto Exp $ */ /* * Copyright (c) 2005 Håkan Olsson. All rights reserved. @@ -62,6 +62,7 @@ carp_map_state(u_char link_state) state = SLAVE; break; case LINK_STATE_UNKNOWN: + case LINK_STATE_INVALID: state = INIT; break; } |