File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -881,9 +881,6 @@ function internalConnect(
881
881
var err ;
882
882
883
883
if ( localAddress || localPort ) {
884
- debug ( 'binding to localAddress: %s and localPort: %d (addressType: %d)' ,
885
- localAddress , localPort , addressType ) ;
886
-
887
884
if ( addressType === 4 ) {
888
885
localAddress = localAddress || '0.0.0.0' ;
889
886
err = self . _handle . bind ( localAddress , localPort ) ;
@@ -894,6 +891,8 @@ function internalConnect(
894
891
self . destroy ( new TypeError ( 'Invalid addressType: ' + addressType ) ) ;
895
892
return ;
896
893
}
894
+ debug ( 'binding to localAddress: %s and localPort: %d (addressType: %d)' ,
895
+ localAddress , localPort , addressType ) ;
897
896
898
897
if ( err ) {
899
898
const ex = exceptionWithHostPort ( err , 'bind' , localAddress , localPort ) ;
You can’t perform that action at this time.
0 commit comments