mx-connect
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -97,6 +97,6 @@ 'use strict'; | ||
delivery.localAddress = delivery.localAddressIPv6; | ||
delivery.localHostname = delivery.localHostnameIPv6 || delivery.localHostname || delivery.localAddress; | ||
delivery.localHostname = delivery.localHostnameIPv6 || delivery.localHostname || false; | ||
} else { | ||
delivery.localAddress = delivery.localAddressIPv4; | ||
delivery.localHostname = delivery.localHostnameIPv4 || delivery.localHostname || delivery.localAddress; | ||
delivery.localHostname = delivery.localHostnameIPv4 || delivery.localHostname || false; | ||
} | ||
@@ -114,3 +114,3 @@ } | ||
} | ||
options.localHostname = delivery.localHostname || delivery.localAddress; | ||
options.localHostname = delivery.localHostname || false; | ||
@@ -117,0 +117,0 @@ let emitConnectHook = done => { |
{ | ||
"name": "mx-connect", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Establish TCP connection to a MX server", | ||
@@ -13,7 +13,3 @@ "main": "lib/mx-connect.js", | ||
}, | ||
"keywords": [ | ||
"mx", | ||
"smtp", | ||
"mta" | ||
], | ||
"keywords": ["mx", "smtp", "mta"], | ||
"author": "Andris Reinman", | ||
@@ -20,0 +16,0 @@ "license": "EUPL-1.1+", |
53138