Comparing version 0.2.1 to 0.2.2
@@ -464,2 +464,7 @@ | ||
if (buf.length < Protocol.MIN_BUFFER_LENGTH) { | ||
self.emit('error', new Error('Malformed packet'), buf); | ||
return; | ||
} | ||
var req = Protocol.parse(buf); | ||
@@ -466,0 +471,0 @@ |
@@ -5,2 +5,4 @@ | ||
module.exports = { | ||
MIN_BUFFER_LENGTH: 230, // 230 byte minimum length of DHCP packet | ||
@@ -7,0 +9,0 @@ parse: function (buf) { |
{ | ||
"name": "dhcp", | ||
"title": "dhcp", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"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
71275
2027