aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-04-01 19:16:39 +0800
committerfanquake <fanquake@gmail.com>2021-04-01 19:16:54 +0800
commitee35532409fd0ee648e3e027484bdbc29cedd53f (patch)
tree0a918a2178f2262036456897f50e680be87d5a3d
parent80a699fda9ff1129546cabbf17e955680a1cc705 (diff)
parent3a0446fad470595db09929695ff02debe12bd4cd (diff)
Merge #21300: script: Add explanatory comment to tc.sh
3a0446fad470595db09929695ff02debe12bd4cd script: Add explanatory comment to tc.sh (dscotese) Pull request description: This is a replacement for #21289 tc.sh is used to limit bandwidth. I ran it and it is limiting my bandwidth. When I ran it, I got one error. I have not found an explanation anywhere of what the error means, but my best guess is consistent with the result, so I propose the explanatory comment to save others time when they use it and also get the error. ACKs for top commit: laanwj: that said, LGTM ACK 3a0446fad470595db09929695ff02debe12bd4cd Tree-SHA512: 5403a2a0fec3724625c20402a96334c3c7a620324a930c5fd828017da8911d2867aecb7a2ad94a23d1f189009d3eb197a67eb59c8e4531fd215d9b1edb600440
-rw-r--r--contrib/qos/tc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/qos/tc.sh b/contrib/qos/tc.sh
index 8408545a21..1cde19efd1 100644
--- a/contrib/qos/tc.sh
+++ b/contrib/qos/tc.sh
@@ -16,7 +16,7 @@ LOCALNET_V4="192.168.0.0/16"
#defines the IPv6 address space for which you wish to disable rate limiting
LOCALNET_V6="fe80::/10"
-#delete existing rules
+#delete existing rules ('Error: Cannot delete qdisc with handle of zero.' means there weren't any.)
tc qdisc del dev ${IF} root
#add root class