From: Felix Fietkau Date: Sun, 20 Feb 2022 12:58:18 +0000 (+0100) Subject: interface: add missing autorate-ingress options X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=65b42032063f75d8efc37cdb7215a04818be2fa7;p=project%2Fqosify.git interface: add missing autorate-ingress options Signed-off-by: Felix Fietkau --- diff --git a/interface.c b/interface.c index 4e3497d..5c2dfe8 100644 --- 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",