projects
/
project
/
qosify.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d6c19a
)
interface: add missing autorate-ingress options
author
Felix Fietkau
<nbd@nbd.name>
Sun, 20 Feb 2022 12:58:18 +0000
(13:58 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Sun, 20 Feb 2022 12:58:18 +0000
(13:58 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 4e3497daf22718b0b1347d9ee02d43065fda4101..5c2dfe89ad544a7554ab388f7265e02bd584e67a 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-286,6
+286,8
@@
cmd_add_qdisc(struct qosify_iface *iface, const char *ifname, bool egress, bool
APPEND(buf, ofs, " bandwidth %s", bw);
APPEND(buf, ofs, " %s %sgress", cfg->mode, egress ? "e" : "in");
+ if (!egress && cfg->autorate_ingress)
+ APPEND(buf, ofs, " autorate-ingress");
if (cfg->host_isolate)
APPEND(buf, ofs, " %snat dual-%shost",