Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 10:56:22 -0700
From:      Gregory Neil Shapiro <sendmail+gshapiro@sendmail.org>
To:        Sean Farley <sean-freebsd@farley.org>
Cc:        <freebsd-net@freebsd.org>, <sendmail-bugs@sendmail.org>
Subject:   Re: Solution:  Sendmail outgoing bind() fails only PPP
Message-ID:  <15094.57798.682855.84630@horsey.gshapiro.net>
In-Reply-To: <20010427142517.K747-200000@thor.farley.org>
References:  <20010427142517.K747-200000@thor.farley.org>

next in thread | previous in thread | raw e-mail | index | archive | help
sean-freebsd> I found the bug.  The socket was IPv6, but the bind used an
sean-freebsd> IPv4 sockaddr struct.  Patch attached.

sean-freebsd> -			s = socket(addr.sa.sa_family, SOCK_STREAM, 0);
sean-freebsd> +			s = socket(clt_addr.sa.sa_family, SOCK_STREAM, 0);

Thanks for the fix.  It will be part of 8.11.4.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15094.57798.682855.84630>