diff --git a/lib/dgram.js b/lib/dgram.js index b8ffb1f92c..c070475a22 100644 --- a/lib/dgram.js +++ b/lib/dgram.js @@ -134,8 +134,9 @@ function replaceHandle(self, newHandle) { self._handle = newHandle; } -Socket.prototype.bind = function(port /*, address, callback*/) { +Socket.prototype.bind = function(port_ /*, address, callback*/) { var self = this; + let port = port_; self._healthCheck();