diff options
author | 2016-08-05 11:36:24 +0000 | |
---|---|---|
committer | 2016-08-05 11:36:24 +0000 | |
commit | 1970447f147919089f8416f35f821b162710c139 (patch) | |
tree | 977e6801dcfd31413a6215b60a62c070cf229ca6 | |
parent | Use tighter pledge(2) restrictions. (diff) | |
download | wireguard-openbsd-1970447f147919089f8416f35f821b162710c139.tar.xz wireguard-openbsd-1970447f147919089f8416f35f821b162710c139.zip |
Fixup the condition that prevented heartbeat & co. from attaching
-rw-r--r-- | sys/dev/pv/hyperv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c index 94d21473a69..ddd21e3aceb 100644 --- a/sys/dev/pv/hyperv.c +++ b/sys/dev/pv/hyperv.c @@ -1628,7 +1628,7 @@ hv_attach_internal(struct hv_softc *sc) int i; TAILQ_FOREACH(ch, &sc->sc_channels, ch_entry) { - if (ch->ch_state != HV_CHANSTATE_OPENED) + if (ch->ch_state != HV_CHANSTATE_OFFERED) continue; if (ch->ch_flags & CHF_MONITOR) continue; |