tc-wrapper
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -161,3 +161,3 @@ 'use strict'; | ||
cmd: 'tc qdisc del dev ' + this.device + ' root', | ||
allowedErrors: [new RegExp('RTNETLINK answers: No such file or directory', 'i')] | ||
allowedErrors: [new RegExp('RTNETLINK answers: No such file or directory', 'i'), new RegExp('Error: Cannot delete qdisc with handle of zero.', 'i')] | ||
}, | ||
@@ -167,3 +167,3 @@ // Delete in qdisc | ||
cmd: 'tc qdisc del dev ' + this.device + ' ingress', | ||
allowedErrors: [new RegExp('RTNETLINK answers: Invalid argument', 'i'), new RegExp('RTNETLINK answers: No such file or directory', 'i')] | ||
allowedErrors: [new RegExp('RTNETLINK answers: Invalid argument', 'i'), new RegExp('RTNETLINK answers: No such file or directory', 'i'), new RegExp('Error: Invalid handle.', 'i'), new RegExp('Error: Cannot find specified qdisc on specified device.', 'i')] | ||
}]; | ||
@@ -176,3 +176,3 @@ | ||
cmd: 'tc qdisc del dev ' + this.ifbDevice + ' root', | ||
allowedErrors: [new RegExp('RTNETLINK answers: No such file or directory', 'i')] | ||
allowedErrors: [new RegExp('RTNETLINK answers: No such file or directory', 'i'), new RegExp('Error: Cannot delete qdisc with handle of zero.', 'i')] | ||
}, { | ||
@@ -179,0 +179,0 @@ cmd: 'ip link set dev ' + this.ifbDevice + ' down', |
{ | ||
"name": "tc-wrapper", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "NodeJS wrapper for tc command (traffic control on linux)", | ||
@@ -5,0 +5,0 @@ "author": "J. Victor Soto", |
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
40711