From 65b42032063f75d8efc37cdb7215a04818be2fa7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 20 Feb 2022 13:58:18 +0100 Subject: [PATCH] interface: add missing autorate-ingress options Signed-off-by: Felix Fietkau --- interface.c | 2 ++ 1 file changed, 2 insertions(+) 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", -- 2.30.2