Comparing version 0.2.11 to 0.2.12
/** | ||
* @license DHCP.js v0.2.11 28/06/2017 | ||
* @license DHCP.js v0.2.12 28/06/2017 | ||
* http://www.xarg.org/2017/06/a-pure-javascript-dhcp-implementation/ | ||
@@ -245,3 +245,6 @@ * | ||
var static = this.config('static'); | ||
if (static[clientMAC]) { | ||
if(typeof static === "function"){ | ||
var staticResult = static(clientMac); | ||
if(staticResult) return staticResult; | ||
}else if (static[clientMAC]) { | ||
return static[clientMAC]; | ||
@@ -248,0 +251,0 @@ } |
/** | ||
* @license DHCP.js v0.2.11 28/06/2017 | ||
* @license DHCP.js v0.2.12 28/06/2017 | ||
* http://www.xarg.org/2017/06/a-pure-javascript-dhcp-implementation/ | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* @license DHCP.js v0.2.11 28/06/2017 | ||
* @license DHCP.js v0.2.12 28/06/2017 | ||
* http://www.xarg.org/2017/06/a-pure-javascript-dhcp-implementation/ | ||
@@ -4,0 +4,0 @@ * |
{ | ||
"name": "dhcp", | ||
"title": "dhcp", | ||
"version": "0.2.11", | ||
"version": "0.2.12", | ||
"homepage": "https://github.com/infusion/node-dhcp", | ||
@@ -6,0 +6,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74894
2118