Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2001 14:31:21 -0500 (CDT)
From:      Sean Farley <sean-freebsd@farley.org>
To:        <freebsd-net@freebsd.org>, <sendmail-bugs@sendmail.org>
Subject:   Solution:  Sendmail outgoing bind() fails only PPP
Message-ID:  <20010427142517.K747-200000@thor.farley.org>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-960944695-988399842=:819
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <20010427143057.S819@thor.farley.org>

I found the bug.  The socket was IPv6, but the bind used an IPv4 sockaddr
struct.  Patch attached.

Sean
-----------------------
sean-freebsd@farley.org
PGP key:  http://www.farley.org/~sean/pgp.key

--0-960944695-988399842=:819
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=patch
Content-Transfer-Encoding: BASE64
Content-ID: <20010427143042.K819@thor.farley.org>
Content-Description: Patch
Content-Disposition: ATTACHMENT; FILENAME=patch

LS0tIGRhZW1vbi5jLm9yaWcJRnJpIEFwciAyNyAxNDoyNzo1MSAyMDAxDQor
KysgZGFlbW9uLmMJRnJpIEFwciAyNyAxNDoyODoxNCAyMDAxDQpAQCAtMjAx
Miw3ICsyMDEyLDcgQEANCiAJCX0NCiAJCWVsc2UNCiAJCXsNCi0JCQlzID0g
c29ja2V0KGFkZHIuc2Euc2FfZmFtaWx5LCBTT0NLX1NUUkVBTSwgMCk7DQor
CQkJcyA9IHNvY2tldChjbHRfYWRkci5zYS5zYV9mYW1pbHksIFNPQ0tfU1RS
RUFNLCAwKTsNCiAJCX0NCiAJCWlmIChzIDwgMCkNCiAJCXsNCg==
--0-960944695-988399842=:819--

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?20010427142517.K747-200000>