Skip to content

Commit

Permalink
Merge 5e39ed9 into a4e311a
Browse files Browse the repository at this point in the history
  • Loading branch information
ronkorving committed May 16, 2018
2 parents a4e311a + 5e39ed9 commit fec701a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var pattern = /[^\s,]+/g;
*
* @param {Object} headers The received HTTP headers.
* @param {Array} whitelist White list of proxies that should be checked.
* @returns {String|Undefined} A IP address or nothing.
* @returns {Forwarded|Undefined} A Forwarded address object or nothing.
* @api private
*/
function forwarded(headers, whitelist) {
Expand Down Expand Up @@ -123,7 +123,7 @@ function forwarded(headers, whitelist) {
* @param {Object} obj A socket like object that could contain a `remoteAddress`.
* @param {Object} headers The received HTTP headers.
* @param {Array} whitelist White list
* @returns {String} The IP address.
* @returns {Forwarded} A Forwarded address object.
* @api private
*/
function parse(obj, headers, whitelist) {
Expand Down

0 comments on commit fec701a

Please sign in to comment.