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 @@ -887,9 +887,6 @@ function internalConnect(
887
887
var err ;
888
888
889
889
if ( localAddress || localPort ) {
890
- debug ( 'binding to localAddress: %s and localPort: %d (addressType: %d)' ,
891
- localAddress , localPort , addressType ) ;
892
-
893
890
if ( addressType === 4 ) {
894
891
localAddress = localAddress || '0.0.0.0' ;
895
892
err = self . _handle . bind ( localAddress , localPort ) ;
@@ -900,6 +897,8 @@ function internalConnect(
900
897
self . destroy ( new TypeError ( 'Invalid addressType: ' + addressType ) ) ;
901
898
return ;
902
899
}
900
+ debug ( 'binding to localAddress: %s and localPort: %d (addressType: %d)' ,
901
+ localAddress , localPort , addressType ) ;
903
902
904
903
if ( err ) {
905
904
const ex = exceptionWithHostPort ( err , 'bind' , localAddress , localPort ) ;
You can’t perform that action at this time.
0 commit comments