From ef4570dd83f1972b137972c86c1dcc4d263e6775 Mon Sep 17 00:00:00 2001 From: Rahul Date: Sat, 23 May 2020 19:32:23 +0530 Subject: [PATCH] qosmngr: fix port related config issue Bug found in specifying input port as classification criteria, fixed with this change. --- qosmngr/files/lib/qos/broadcom.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qosmngr/files/lib/qos/broadcom.sh b/qosmngr/files/lib/qos/broadcom.sh index 675ef2917..d4198b680 100755 --- a/qosmngr/files/lib/qos/broadcom.sh +++ b/qosmngr/files/lib/qos/broadcom.sh @@ -117,7 +117,11 @@ handle_ebtables_rules() { init_broute_rule config_get src_if "$sid" "ifname" - [ -n "$src_if" ] && broute_filter_on_src_if $src_if + if [ -n "$src_if" ]; then + src_if="$src_if+" + broute_filter_on_src_if $src_if + fi + config_get src_mac "$sid" "src_mac" [ -n "$src_mac" ] && broute_filter_on_src_mac $src_mac config_get dst_mac "$sid" "dst_mac"