From cbf6aa2ff6e11f9829fba8abd1af73d1861c7c2f Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 21 Dec 2010 14:59:15 +0000 Subject: Doh! Forgot to set the rdomain when sending out carp announcements. With and OK phessler@ --- sys/netinet/ip_carp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index b987c6c41c1..90e8295e309 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.179 2010/11/26 12:25:52 otto Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.180 2010/12/21 14:59:14 claudio Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -1138,6 +1138,7 @@ carp_send_ad(void *v) len = sizeof(*ip) + sizeof(ch); m->m_pkthdr.len = len; m->m_pkthdr.rcvif = NULL; + m->m_pkthdr.rdomain = sc->sc_if.if_rdomain; m->m_len = len; MH_ALIGN(m, m->m_len); ip = mtod(m, struct ip *); @@ -1227,6 +1228,7 @@ carp_send_ad(void *v) len = sizeof(*ip6) + sizeof(ch); m->m_pkthdr.len = len; m->m_pkthdr.rcvif = NULL; + /* XXX m->m_pkthdr.rdomain = sc->sc_if.if_rdomain; */ m->m_len = len; MH_ALIGN(m, m->m_len); m->m_flags |= M_MCAST; -- cgit v1.2.3