From e648b9dd1146cfef91d2b56ff5c4b7da1b34ed31 Mon Sep 17 00:00:00 2001 From: Johannes Truschnigg Date: Sun, 4 Sep 2022 09:55:31 +0200 Subject: [PATCH] (Hopefully) fix ifb device detection pattern --- sqm_lagthrottle_suggest_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqm_lagthrottle_suggest_config.sh b/sqm_lagthrottle_suggest_config.sh index 448d266..a88ef0d 100755 --- a/sqm_lagthrottle_suggest_config.sh +++ b/sqm_lagthrottle_suggest_config.sh @@ -66,7 +66,7 @@ _goon _h 'set SQM device (downstream/rx)' -ifb_dev=$( (find /sys/devices/virtual/net/ -name ifb\* -print; echo sorry-no-dev-found) | head -n 1) +ifb_dev=$( (find /sys/devices/virtual/net/ -name ifb4\* -print; echo sorry-no-dev-found) | head -n 1) if [ -e "${ifb_dev}" ] then printf 'Auto-detected downstream (rx) network device to adjust:\n\t%s\n\n' "${ifb_dev}" >&2 -- 2.39.5