Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a507463 authored by Ashley Willis's avatar Ashley Willis
Browse files

Merge pull request #478 from typingArtist/master

Fix: HELO/EHLO with literal IPv6 address not conformant to RFC5321
verified in spec – ashleywillis
parents 731da274 acd756e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ public class SmtpTransport extends Transport {
                // characters (see issue 2143), so use IP address.
                if (!ipAddr.equals("")) {
                    if (localAddress instanceof Inet6Address) {
                        localHost = "[IPV6:" + ipAddr + "]";
                        localHost = "[IPv6:" + ipAddr + "]";
                    } else {
                        localHost = "[" + ipAddr + "]";
                    }