ShellCheck - shell script analysis tool version: 0.10.0 license: GNU General Public License, version 3 website: https://www.shellcheck.net Redirect to /tmp/tmp.m5mQNYSsC7 and /tmp/tmp.fEbEY03cpA Tree base: d61f6cb6f6ef ("et131x: Add missing check after DMA map") Now at: a719eec5a393 ("selftests: tc: Add generic erspan_opts matching support for tc-flower") ====== Checking before the patch ====== Checking tools/testing/selftests/net/forwarding/lib.sh - e1a847ed4d4592e29820ec7d4d0de16c1b815b225d7508d588b8b4f99ffa9610 In lib.sh line 97: basename `realpath $driver_path` ^---------------------^ SC2046 (warning): Quote this to prevent word splitting. ^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: basename $(realpath "$driver_path") In lib.sh line 103: local ifnames=`ip -j link show | jq -r ".[].ifname"` ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: local ifnames=$(ip -j link show | jq -r ".[].ifname") In lib.sh line 108: local driver_name=`driver_name_get $ifname` ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local driver_name=$(driver_name_get "$ifname") In lib.sh line 109: if [[ ! -z $driver_name && $driver_name == $NETIF_FIND_DRIVER ]]; then ^-- SC2236 (style): Use -n instead of ! -z. ^----------------^ SC2053 (warning): Quote the right-hand side of == in [[ ]] to prevent glob matching. In lib.sh line 128: source "$net_forwarding_dir/forwarding.config" ^-- SC1091 (info): Not following: ./forwarding.config: openBinaryFile: does not exist (No such file or directory) In lib.sh line 139: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 150: tc filter add dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 152: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 156: tc filter del dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 166: tc filter add dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 170: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 175: tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j filter show dev "$dev" ingress protocol mpls_uc | jq . &> /dev/null In lib.sh line 177: tc filter del dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 189: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 198: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 207: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 216: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 225: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 234: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 243: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 254: [ 0 -ne $(ethtool --json -S $dev --all-groups --src pmac 2>/dev/null \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [ 0 -ne $(ethtool --json -S "$dev" --all-groups --src pmac 2>/dev/null \ In lib.sh line 283: local driver_name=`driver_name_get $dev` ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local driver_name=$(driver_name_get "$dev") In lib.sh line 285: if [[ $driver_name != $expected ]]; then ^-------^ SC2053 (warning): Quote the right-hand side of != in [[ ]] to prevent glob matching. In lib.sh line 298: local version="$(msend -v)" ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 302: major=$(echo $version | cut -d. -f1) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: major=$(echo "$version" | cut -d. -f1) In lib.sh line 304: if [ $major -lt 3 ]; then ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$major" -lt 3 ]; then In lib.sh line 314: require_command $MZ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$MZ" In lib.sh line 317: require_command $TEAMD ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TEAMD" In lib.sh line 350: echo "SKIP: Importer requires $NUM_NETIFS NETIFS, but only ${#NETIFS[@]} are defined (${NETIFS[@]})" ^----------^ SC2145 (error): Argument mixes string and array. Use * or separate argument. In lib.sh line 368: if [ -z ${NETIFS[p$i]} ]; then ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "${NETIFS[p$i]}" ]; then In lib.sh line 373: ip link show dev ${NETIFS[p$i]} &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "${NETIFS[p$i]}" &> /dev/null In lib.sh line 374: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 375: ip link add ${NETIFS[p$i]} type veth \ ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add "${NETIFS[p$i]}" type veth \ In lib.sh line 376: peer name ${NETIFS[p$j]} ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: peer name "${NETIFS[p$j]}" In lib.sh line 377: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 391: *) echo "Can not create interfaces of type \'$NETIF_TYPE\'" ^-- SC2028 (info): echo may not expand escape sequences. Use printf. In lib.sh line 407: MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].address') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev "$dev" | jq -e '.[].address') In lib.sh line 410: ip link set dev $dev address $new_addr ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$dev" address "$new_addr" In lib.sh line 420: ip link set dev $dev address ${MAC_ADDR_ORIG["$dev"]} ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$dev" address "${MAC_ADDR_ORIG["$dev"]}" In lib.sh line 433: ip link show dev ${NETIFS[p$i]} &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "${NETIFS[p$i]}" &> /dev/null In lib.sh line 434: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 446: [[ $? != 0 ]] ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 454: for cur in ${arr[@]}; do ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In lib.sh line 460: echo $max ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$max" In lib.sh line 476: $@ | grep $addr | grep $flag "$word" ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $@ | grep "$addr" | grep "$flag" "$word" In lib.sh line 499: setup_wait_dev_with_timeout "$dev" $INTERFACE_TIMEOUT $wait_time ^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev_with_timeout "$dev" "$INTERFACE_TIMEOUT" "$wait_time" In lib.sh line 501: if (($?)); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 515: for ((i = 1; i <= $max_iterations; ++i)); do ^-------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In lib.sh line 516: ip link show dev $dev up \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "$dev" up \ In lib.sh line 518: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 521: sleep $wait_time ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sleep "$wait_time" In lib.sh line 535: setup_wait_dev ${NETIFS[p$i]} 0 ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "${NETIFS[p$i]}" 0 In lib.sh line 539: sleep $WAIT_TIME ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sleep "$WAIT_TIME" In lib.sh line 552: slowwait $timeout ip link show dev $dev &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: slowwait "$timeout" ip link show dev "$dev" &> /dev/null In lib.sh line 553: if (( $? )); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 556: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" In lib.sh line 574: output=$(echo $output | jq -r $jq_opts "$jq_exp") ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output=$(echo "$output" | jq -r "$jq_opts" "$jq_exp") In lib.sh line 579: echo $output ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" In lib.sh line 581: [ ! -z "$output" ] ^-- SC2236 (style): Use -n instead of ! -z. In lib.sh line 588: read ^--^ SC2162 (info): read without -r will mangle backslashes. In lib.sh line 628: return ${__TB_IDS[$vrf_name]} ^--------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: return "${__TB_IDS[$vrf_name]}" In lib.sh line 636: __vrf_td_id_assign $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __vrf_td_id_assign "$vrf_name" In lib.sh line 639: ip link add dev $vrf_name type vrf table $tb_id ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add dev "$vrf_name" type vrf table $tb_id In lib.sh line 649: __vrf_td_id_lookup $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __vrf_td_id_lookup "$vrf_name" In lib.sh line 654: ip link del dev $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$vrf_name" In lib.sh line 668: ip address $add_del $addrstr dev $if_name ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address "$add_del" "$addrstr" dev "$if_name" In lib.sh line 678: ip link set dev $if_name master $vrf_name ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" master "$vrf_name" In lib.sh line 679: ip link set dev $if_name up ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" up In lib.sh line 681: __addr_add_del $if_name add "${addrs[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$if_name" add "${addrs[@]}" In lib.sh line 689: __addr_add_del $if_name del "${addrs[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$if_name" del "${addrs[@]}" In lib.sh line 691: ip link set dev $if_name down ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" down In lib.sh line 692: ip link set dev $if_name nomaster ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" nomaster In lib.sh line 705: vrf_create $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_create "$vrf_name" In lib.sh line 706: ip link set dev $vrf_name up ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vrf_name" up In lib.sh line 707: __simple_if_init $if_name $vrf_name "${array[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$if_name" "$vrf_name" "${array[@]}" In lib.sh line 720: __simple_if_fini $if_name "${array[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$if_name" "${array[@]}" In lib.sh line 721: vrf_destroy $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_destroy "$vrf_name" In lib.sh line 731: ip link add name $name type $type \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name "$name" type "$type" \ In lib.sh line 732: local $local remote $remote "$@" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local "$local" remote "$remote" "$@" In lib.sh line 733: ip link set dev $name up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" up In lib.sh line 740: ip link del dev $name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$name" In lib.sh line 751: ip link add name $name link $if_name type vlan id $vid ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name "$name" link "$if_name" type vlan id "$vid" In lib.sh line 753: ip link set dev $name master $vrf ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" master "$vrf" In lib.sh line 755: ip link set dev $name up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" up In lib.sh line 756: __addr_add_del $name add "${ips[@]}" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$name" add "${ips[@]}" In lib.sh line 765: ip link del dev $name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$name" In lib.sh line 773: require_command $TEAMD ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TEAMD" In lib.sh line 774: $TEAMD -t $if_name -d -c '{"runner": {"name": "'$mode'"}}' ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $TEAMD -t "$if_name" -d -c '{"runner": {"name": "'"$mode"'"}}' In lib.sh line 776: ip link set dev $slave down ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" down In lib.sh line 777: ip link set dev $slave master $if_name ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" master "$if_name" In lib.sh line 778: ip link set dev $slave up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" up In lib.sh line 780: ip link set dev $if_name up ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" up In lib.sh line 787: $TEAMD -t $if_name -k ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $TEAMD -t "$if_name" -k In lib.sh line 794: ip -j link show dev $if_name | jq -r '.[]["master"]' ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j link show dev "$if_name" | jq -r '.[]["master"]' In lib.sh line 803: ip -j -s link show dev $if_name \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s link show dev "$if_name" \ In lib.sh line 804: | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: | jq '.[]["stats64"]["'"$dir"'"]["'"$stat"'"]' In lib.sh line 809: link_stats_get $1 tx packets ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: link_stats_get "$1" tx packets In lib.sh line 814: link_stats_get $1 rx errors ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: link_stats_get "$1" rx errors In lib.sh line 822: ethtool -S $dev | grep "^ *$stat:" | head -n 1 | cut -d: -f2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -S "$dev" | grep "^ *$stat:" | head -n 1 | cut -d: -f2 In lib.sh line 832: ethtool --json -S $dev --groups $grp -- --src $src | \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool --json -S "$dev" --groups "$grp" -- --src "$src" | \ In lib.sh line 833: jq '.[]."'"$grp"'"."'$name'"' ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: jq '.[]."'"$grp"'"."'"$name"'"' In lib.sh line 861: cat /proc/net/dev_snmp6/$dev | grep "^$stat" | cut -f2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: cat /proc/net/dev_snmp6/"$dev" | grep "^$stat" | cut -f2 In lib.sh line 871: ip -j stats show dev $if_name group offload subgroup $suite | ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j stats show dev "$if_name" group offload subgroup "$suite" | In lib.sh line 881: ip -j -s -s nexthop show id $group_id | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s -s nexthop show id "$group_id" | In lib.sh line 972: ip -j addr show dev $if_name | \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j addr show dev "$if_name" | \ In lib.sh line 983: ageing_time=$(ip -j -d link show dev $bridge \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time=$(ip -j -d link show dev "$bridge" \ In lib.sh line 993: SYSCTL_ORIG[$key]=$(sysctl -n $key) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: SYSCTL_ORIG[$key]=$(sysctl -n "$key") In lib.sh line 1002: sysctl -qw $key="$value" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw "$key"="$value" In lib.sh line 1009: sysctl -qw $key="${SYSCTL_ORIG[$key]}" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw "$key"="${SYSCTL_ORIG[$key]}" In lib.sh line 1030: MTU_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].mtu') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: MTU_ORIG["$dev"]=$(ip -j link show dev "$dev" | jq -e '.[].mtu') In lib.sh line 1031: ip link set dev $dev mtu $mtu ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$dev" mtu "$mtu" In lib.sh line 1038: ip link set dev $dev mtu ${MTU_ORIG["$dev"]} ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$dev" mtu "${MTU_ORIG["$dev"]}" In lib.sh line 1046: ethtool -k ${NETIFS[p$i]} \ ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -k "${NETIFS[p$i]}" \ In lib.sh line 1048: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 1066: tc filter add dev $dev $direction pref 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" "$direction" pref 1 \ In lib.sh line 1068: || tc filter add dev $dev $direction pref 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: || tc filter add dev "$dev" "$direction" pref 1 \ In lib.sh line 1077: tc filter del dev $dev $direction pref 1 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" "$direction" pref 1 flower In lib.sh line 1088: tc filter $add_del dev "$tundev" ingress \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter "$add_del" dev "$tundev" ingress \ In lib.sh line 1089: proto ip$vsuf pref $pref \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ip"$vsuf" pref "$pref" \ In lib.sh line 1090: flower ip_proto icmp$vsuf $filter \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto icmp"$vsuf" "$filter" \ In lib.sh line 1133: tc filter $add_del dev "$dev" ingress \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter "$add_del" dev "$dev" ingress \ In lib.sh line 1134: proto 802.1q pref $pref \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto 802.1q pref "$pref" \ In lib.sh line 1135: flower $filter \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$filter" \ In lib.sh line 1164: __icmp_capture_add_del $add_del $((dscp + 100)) "" $dev \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __icmp_capture_add_del "$add_del" $((dscp + 100)) "" "$dev" \ In lib.sh line 1174: __dscp_capture_add_del add $dev $base ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __dscp_capture_add_del add "$dev" "$base" In lib.sh line 1182: __dscp_capture_add_del del $dev $base ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __dscp_capture_add_del del "$dev" "$base" In lib.sh line 1192: local t=$(tc_rule_stats_get $dev $((dscp + 100))) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t=$(tc_rule_stats_get "$dev" $((dscp + 100))) In lib.sh line 1201: tc qdisc add dev $dev clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$dev" clsact In lib.sh line 1202: tc filter add dev $dev ingress \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress \ In lib.sh line 1248: diff=$(echo $weights_ratio - $packets_ratio | bc -l) ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: diff=$(echo "$weights_ratio" - "$packets_ratio" | bc -l) In lib.sh line 1261: ip netns exec $name bash <<-EOF ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip netns exec "$name" bash <<-EOF In lib.sh line 1278: vrf_name=$(master_name_get $if_name) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_name=$(master_name_get "$if_name") In lib.sh line 1279: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1280: $PING $args $dip -c $PING_COUNT -i 0.1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING" "$args" "$dip" -c "$PING_COUNT" -i 0.1 \ In lib.sh line 1281: -w $PING_TIMEOUT &> /dev/null ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -w "$PING_TIMEOUT" &> /dev/null In lib.sh line 1288: ping_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$1" "$2" In lib.sh line 1297: ping_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$1" "$2" In lib.sh line 1309: vrf_name=$(master_name_get $if_name) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_name=$(master_name_get "$if_name") In lib.sh line 1310: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1311: $PING6 $args $dip -c $PING_COUNT -i 0.1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING6" "$args" "$dip" -c "$PING_COUNT" -i 0.1 \ In lib.sh line 1312: -w $PING_TIMEOUT &> /dev/null ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -w "$PING_TIMEOUT" &> /dev/null In lib.sh line 1319: ping6_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$1" "$2" In lib.sh line 1328: ping6_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$1" "$2" In lib.sh line 1344: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1351: bridge link set dev $br_port1 flood off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" flood off In lib.sh line 1353: ip link set $host1_if promisc on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host1_if" promisc on In lib.sh line 1354: tc qdisc add dev $host1_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host1_if" ingress In lib.sh line 1355: tc filter add dev $host1_if ingress protocol ip pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host1_if" ingress protocol ip pref 1 handle 101 \ In lib.sh line 1358: $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host2_if" -c 1 -p 64 -b $mac -t ip -q In lib.sh line 1361: tc -j -s filter show dev $host1_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host1_if" ingress \ In lib.sh line 1366: $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 -p 64 -a $mac -t ip -q In lib.sh line 1369: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1373: $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host2_if" -c 1 -p 64 -b $mac -t ip -q In lib.sh line 1376: tc -j -s filter show dev $host1_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host1_if" ingress \ In lib.sh line 1383: ageing_time=$(bridge_ageing_time_get $bridge) ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time=$(bridge_ageing_time_get "$bridge") In lib.sh line 1386: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1390: bridge link set dev $br_port1 learning off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" learning off In lib.sh line 1392: $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 -p 64 -a $mac -t ip -q In lib.sh line 1395: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1399: bridge link set dev $br_port1 learning on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" learning on In lib.sh line 1401: tc filter del dev $host1_if ingress protocol ip pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host1_if" ingress protocol ip pref 1 handle 101 flower In lib.sh line 1402: tc qdisc del dev $host1_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host1_if" ingress In lib.sh line 1403: ip link set $host1_if promisc off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host1_if" promisc off In lib.sh line 1405: bridge link set dev $br_port1 flood on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" flood on In lib.sh line 1421: ip link set $host2_if promisc on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host2_if" promisc on In lib.sh line 1422: tc qdisc add dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host2_if" ingress In lib.sh line 1423: tc filter add dev $host2_if ingress protocol ip pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host2_if" ingress protocol ip pref 1 handle 101 \ In lib.sh line 1424: flower dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$mac" action drop In lib.sh line 1426: $MZ $host1_if -c 1 -p 64 -b $mac -B $ip -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 -p 64 -b "$mac" -B "$ip" -t ip -q In lib.sh line 1429: tc -j -s filter show dev $host2_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host2_if" ingress \ In lib.sh line 1437: tc filter del dev $host2_if ingress protocol ip pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host2_if" ingress protocol ip pref 1 handle 101 flower In lib.sh line 1438: tc qdisc del dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host2_if" ingress In lib.sh line 1439: ip link set $host2_if promisc off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host2_if" promisc off In lib.sh line 1454: bridge link set dev $br_port flood off ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" flood off In lib.sh line 1456: flood_test_do false $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do false $mac $ip "$host1_if" "$host2_if" In lib.sh line 1459: bridge link set dev $br_port flood on ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" flood on In lib.sh line 1461: flood_test_do true $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do true $mac $ip "$host1_if" "$host2_if" In lib.sh line 1477: bridge link set dev $br_port mcast_flood off ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" mcast_flood off In lib.sh line 1479: flood_test_do false $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do false $mac $ip "$host1_if" "$host2_if" In lib.sh line 1482: bridge link set dev $br_port mcast_flood on ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" mcast_flood on In lib.sh line 1484: flood_test_do true $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do true $mac $ip "$host1_if" "$host2_if" In lib.sh line 1497: flood_unicast_test $br_port $host1_if $host2_if ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_unicast_test "$br_port" "$host1_if" "$host2_if" In lib.sh line 1498: flood_multicast_test $br_port $host1_if $host2_if ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_multicast_test "$br_port" "$host1_if" "$host2_if" In lib.sh line 1511: $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h_in" -p "$pktsize" -A "$sip" -B "$dip" -c 0 \ In lib.sh line 1512: -a own -b $dmac -t "$proto" -q "${mz_args[@]}" & ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$dmac" -t "$proto" -q "${mz_args[@]}" & In lib.sh line 1525: __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __start_traffic "$pktsize" udp "$h_in" "$sip" "$dip" "$dmac" \ In lib.sh line 1538: __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __start_traffic "$pktsize" tcp "$h_in" "$sip" "$dip" "$dmac" \ In lib.sh line 1585: if [ -z $ns ]; then ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "$ns" ]; then In lib.sh line 1591: if [ -z $SUDO_USER ] ; then ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "$SUDO_USER" ] ; then In lib.sh line 1597: $ns_cmd tcpdump $TCPDUMP_EXTRA_FLAGS -e -n -Q in -i $if_name \ ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ns_cmd tcpdump "$TCPDUMP_EXTRA_FLAGS" -e -n -Q in -i "$if_name" \ In lib.sh line 1598: -s 65535 -B 32768 $capuser -w ${capfile[$if_name]} \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -s 65535 -B 32768 "$capuser" -w "${capfile[$if_name]}" \ In lib.sh line 1618: rm ${capfile[$if_name]} ${capout[$if_name]} ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm "${capfile[$if_name]}" "${capout[$if_name]}" In lib.sh line 1625: tcpdump -e -n -r ${capfile[$if_name]} 2>&1 ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tcpdump -e -n -r "${capfile[$if_name]}" 2>&1 In lib.sh line 1648: tc qdisc add dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host2_if" ingress In lib.sh line 1649: tc filter add dev $host2_if ingress protocol $tc_proto pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host2_if" ingress protocol $tc_proto pref 1 handle 101 \ In lib.sh line 1650: flower ip_proto udp dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp dst_mac "$mac" action drop In lib.sh line 1652: $MZ $host1_if $mz_v6arg -c 1 -p 64 -b $mac -A $src_ip -B $ip -t udp "dp=4096,sp=2048" -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" $mz_v6arg -c 1 -p 64 -b "$mac" -A "$src_ip" -B "$ip" -t udp "dp=4096,sp=2048" -q In lib.sh line 1655: tc -j -s filter show dev $host2_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host2_if" ingress \ In lib.sh line 1658: if [[ $? -eq 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. In lib.sh line 1662: tc filter del dev $host2_if ingress protocol $tc_proto pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host2_if" ingress protocol $tc_proto pref 1 handle 101 flower In lib.sh line 1663: tc qdisc del dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host2_if" ingress In lib.sh line 1698: mcast_packet_test $TEST_GROUP_MAC $src $TEST_GROUP $h2 $h1 ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2154 (warning): h2 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mcast_packet_test "$TEST_GROUP_MAC" "$src" "$TEST_GROUP" "$h2" "$h1" In lib.sh line 1700: if [ $should_fwd -eq 1 ]; then ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$should_fwd" -eq 1 ]; then In lib.sh line 1714: if [ $is_blocked -eq 1 ]; then ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$is_blocked" -eq 1 ]; then In lib.sh line 1739: local vrf_name=$(master_name_get $if_name) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local vrf_name=$(master_name_get "$if_name") In lib.sh line 1744: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1745: mreceive -g $group -I $if_name > /dev/null 2>&1 & ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mreceive -g "$group" -I "$if_name" > /dev/null 2>&1 & In lib.sh line 1760: local vrf_name=$(master_name_get $if_name) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local vrf_name=$(master_name_get "$if_name") In lib.sh line 1762: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1763: msend -g $groups -I $if_name -c 1 > /dev/null 2>&1 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msend -g "$groups" -I "$if_name" -c 1 > /dev/null 2>&1 In lib.sh line 1817: tmpfile=`mktemp /var/run/nexthoptestXXX` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: tmpfile=$(mktemp /var/run/nexthoptestXXX) In lib.sh line 1818: mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mpid=$(($ip monitor "$mtype" > "$tmpfile" & echo $!) 2>/dev/null) In lib.sh line 1831: kill $mpid ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: kill "$mpid" In lib.sh line 1832: local lines=`grep '^\w' $tmpfile | wc -l` ^---^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----------------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local lines=$(grep '^\w' "$tmpfile" | wc -l) In lib.sh line 1833: test $lines -eq $el ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test "$lines" -eq "$el" In lib.sh line 1835: rm -rf $tmpfile ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -rf "$tmpfile" In lib.sh line 1849: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1850: $ip stats set dev $dev ${type}_stats on ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ip stats set dev "$dev" "${type}"_stats on In lib.sh line 1851: stop_ip_monitor $ipmout 1 "${type}_stats enablement" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats enablement" In lib.sh line 1854: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1856: stop_ip_monitor $ipmout 1 "${type}_stats installation" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats installation" In lib.sh line 1859: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1861: stop_ip_monitor $ipmout 1 "${type}_stats deinstallation" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats deinstallation" In lib.sh line 1864: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1865: $ip stats set dev $dev ${type}_stats off ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ip stats set dev "$dev" "${type}"_stats off In lib.sh line 1866: stop_ip_monitor $ipmout 1 "${type}_stats disablement" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats disablement" In lib.sh line 1875: printf '%02x:' ${IP//./ } | ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf '%02x:' "${IP//./ }" | In lib.sh line 1894: echo $allcol_ip | tr : '\n' | ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$allcol_ip" | tr : '\n' | In lib.sh line 1912: printf "%04x" $u16 | sed 's/^/000/;s/^.*\(..\)\(..\)$/\1:\2/' ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf "%04x" "$u16" | sed 's/^/000/;s/^.*\(..\)\(..\)$/\1:\2/' In lib.sh line 1951: local ckbytes=$(u16_to_bytes $checksum) ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local ckbytes=$(u16_to_bytes "$checksum") In lib.sh line 1953: echo "$payload" | sed "s/CHECKSUM/$ckbytes/g" ^-- SC2001 (style): See if you can use ${variable//search/replace} instead. In lib.sh line 1970: local nsources=$(u16_to_bytes ${#sources[@]}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1974: )"22:"$( : Type - Membership Report ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1975: )"00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1976: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1977: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1978: )"00:01:"$( : Number of Group Records ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1979: )"01:"$( : Record Type - IS_IN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1980: )"00:"$( : Aux Data Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1981: )"${nsources}:"$( : Number of Sources ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1982: )"$(ipv4_to_bytes $GRP):"$( : Multicast Address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv4_to_bytes "$GRP"):"$( : Multicast Address In lib.sh line 1984: ipv4_to_bytes $src ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ipv4_to_bytes "$src" In lib.sh line 1988: local checksum=$(payload_template_calc_checksum "$igmpv3") ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1990: payload_template_expand_checksum "$igmpv3" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$igmpv3" "$checksum" In lib.sh line 1997: local payload=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1998: )"17:"$( : Type - Leave Group ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1999: )"00:"$( : Max Resp Time - not meaningful ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2000: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2001: )"$(ipv4_to_bytes $GRP)"$( : Group Address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(ipv4_to_bytes "$GRP")"$( : Group Address In lib.sh line 2003: local checksum=$(payload_template_calc_checksum "$payload") ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2005: payload_template_expand_checksum "$payload" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$payload" "$checksum" In lib.sh line 2016: local nsources=$(u16_to_bytes ${#sources[@]}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2019: )"3a:"$( : Next Header - ICMPv6 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2020: )"00:"$( : Hdr Ext Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2025: )"8f:"$( : Type - MLDv2 Report ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2026: )"00:"$( : Code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2027: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2028: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2029: )"00:01:"$( : Number of Group Records ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2030: )"01:"$( : Record Type - IS_IN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2031: )"00:"$( : Aux Data Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2032: )"${nsources}:"$( : Number of Sources ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2033: )"$(ipv6_to_bytes $GRP):"$( : Multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : Multicast address In lib.sh line 2035: ipv6_to_bytes $src ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ipv6_to_bytes "$src" In lib.sh line 2040: local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6)) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local len=$(u16_to_bytes $(payload_template_nbytes "$icmpv6")) In lib.sh line 2041: local sudohdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2042: )"$(ipv6_to_bytes $SIP):"$( : SIP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$SIP"):"$( : SIP In lib.sh line 2043: )"$(ipv6_to_bytes $GRP):"$( : DIP is multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : DIP is multicast address In lib.sh line 2044: )"${len}:"$( : Upper-layer length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2047: local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local checksum=$(payload_template_calc_checksum "${sudohdr}""${icmpv6}") In lib.sh line 2049: payload_template_expand_checksum "$hbh$icmpv6" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$hbh$icmpv6" "$checksum" In lib.sh line 2061: )"3a:"$( : Next Header - ICMPv6 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2062: )"00:"$( : Hdr Ext Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2067: )"84:"$( : Type - MLDv1 Done ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2068: )"00:"$( : Code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2069: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2070: )"00:00:"$( : Max Resp Delay - not meaningful ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2071: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2072: )"$(ipv6_to_bytes $GRP):"$( : Multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : Multicast address In lib.sh line 2075: local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6)) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local len=$(u16_to_bytes $(payload_template_nbytes "$icmpv6")) In lib.sh line 2076: local sudohdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2077: )"$(ipv6_to_bytes $SIP):"$( : SIP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$SIP"):"$( : SIP In lib.sh line 2078: )"$(ipv6_to_bytes $GRP):"$( : DIP is multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : DIP is multicast address In lib.sh line 2079: )"${len}:"$( : Upper-layer length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2082: local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local checksum=$(payload_template_calc_checksum "${sudohdr}""${icmpv6}") In lib.sh line 2084: payload_template_expand_checksum "$hbh$icmpv6" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$hbh$icmpv6" "$checksum" In lib.sh line 2113: log_test_skip $src:$caller ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: log_test_skip "$src":"$caller" In lib.sh line 2114: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" In lib.sh line 2131: local mac_addr=$(mac_get $dev) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local mac_addr=$(mac_get "$dev") In lib.sh line 2132: local tmp=$(ether_addr_to_u64 $mac_addr) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local tmp=$(ether_addr_to_u64 "$mac_addr") In lib.sh line 2135: ip link set $dev up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$dev" up In lib.sh line 2136: ip link add link $dev name macvlan-tmp type macvlan mode private ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add link "$dev" name macvlan-tmp type macvlan mode private In lib.sh line 2137: ip link set macvlan-tmp address $(u64_to_ether_addr $((tmp + 1))) ^-- SC2046 (warning): Quote this to prevent word splitting. In lib.sh line 2140: promisc=$(ip -j -d link show dev $dev | jq -r '.[].promiscuity') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: promisc=$(ip -j -d link show dev "$dev" | jq -r '.[].promiscuity') For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... Checking tools/testing/selftests/net/forwarding/tc_flower.sh - 55a6132b278432de62e5b75aa7b8112f70c4e3f63e33c54d77f351d49b845776 In tc_flower.sh line 18: simple_if_init $h1 192.0.2.1/24 198.51.100.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 198.51.100.1/24 In tc_flower.sh line 23: simple_if_fini $h1 192.0.2.1/24 198.51.100.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 198.51.100.1/24 In tc_flower.sh line 28: simple_if_init $h2 192.0.2.2/24 198.51.100.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 198.51.100.2/24 In tc_flower.sh line 29: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_flower.sh line 34: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_flower.sh line 35: simple_if_fini $h2 192.0.2.2/24 198.51.100.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 198.51.100.2/24 In tc_flower.sh line 44: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 45: $tcflags dst_mac $dummy_mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$dummy_mac" action drop In tc_flower.sh line 46: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 47: $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 49: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 58: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 59: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 70: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 71: $tcflags src_mac $dummy_mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_mac "$dummy_mac" action drop In tc_flower.sh line 72: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 73: $tcflags src_mac $h1mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_mac "$h1mac" action drop In tc_flower.sh line 75: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 84: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 85: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 94: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 95: $tcflags dst_ip 198.51.100.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 198.51.100.2 action drop In tc_flower.sh line 96: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 97: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_flower.sh line 98: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 99: $tcflags dst_ip 192.0.2.0/24 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.0/24 action drop In tc_flower.sh line 101: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 110: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 112: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 118: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 119: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 128: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 129: $tcflags src_ip 198.51.100.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 198.51.100.1 action drop In tc_flower.sh line 130: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 131: $tcflags src_ip 192.0.2.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 192.0.2.1 action drop In tc_flower.sh line 132: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 133: $tcflags src_ip 192.0.2.0/24 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 192.0.2.0/24 action drop In tc_flower.sh line 135: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 144: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 146: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 152: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 153: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 162: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 163: $tcflags ip_flags frag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags frag action continue In tc_flower.sh line 164: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 165: $tcflags ip_flags firstfrag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags firstfrag action continue In tc_flower.sh line 166: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 167: $tcflags ip_flags nofirstfrag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags nofirstfrag action continue In tc_flower.sh line 168: tc filter add dev $h2 ingress protocol ip pref 4 handle 104 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 4 handle 104 flower \ In tc_flower.sh line 169: $tcflags ip_flags nofrag action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags nofrag action drop In tc_flower.sh line 171: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 186: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 201: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 203: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 218: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 219: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 220: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 221: tc filter del dev $h2 ingress protocol ip pref 4 handle 104 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 4 handle 104 flower In tc_flower.sh line 230: vlan_create $h2 85 v$h2 192.0.2.11/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$h2" 85 v"$h2" 192.0.2.11/24 In tc_flower.sh line 232: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 101 \ In tc_flower.sh line 233: flower vlan_prio 6 $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_prio 6 "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 234: tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 2 handle 102 \ In tc_flower.sh line 235: flower vlan_prio 7 $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_prio 7 "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 237: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 7:85 -t ip -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 7:85 -t ip -q In tc_flower.sh line 238: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 0:85 -t ip -q In tc_flower.sh line 246: tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 2 handle 102 flower In tc_flower.sh line 247: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 101 flower In tc_flower.sh line 249: vlan_destroy $h2 85 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 85 In tc_flower.sh line 258: vlan_create $h2 85 v$h2 192.0.2.11/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$h2" 85 v"$h2" 192.0.2.11/24 In tc_flower.sh line 259: vlan_create $h2 75 v$h2 192.0.2.10/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$h2" 75 v"$h2" 192.0.2.10/24 In tc_flower.sh line 261: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 101 \ In tc_flower.sh line 262: flower vlan_id 75 $tcflags action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_id 75 "$tcflags" action drop In tc_flower.sh line 263: tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 2 handle 102 \ In tc_flower.sh line 264: flower vlan_id 85 $tcflags action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_id 85 "$tcflags" action drop In tc_flower.sh line 266: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 0:85 -t ip -q In tc_flower.sh line 274: tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 2 handle 102 flower In tc_flower.sh line 275: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 101 flower In tc_flower.sh line 277: vlan_destroy $h2 75 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 75 In tc_flower.sh line 278: vlan_destroy $h2 85 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 85 In tc_flower.sh line 287: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 288: $tcflags dst_ip 192.0.2.2 ip_tos 0x20 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_tos 0x20 action drop In tc_flower.sh line 289: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 290: $tcflags dst_ip 192.0.2.2 ip_tos 0x18 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_tos 0x18 action drop In tc_flower.sh line 292: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 301: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 310: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 311: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 320: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 321: $tcflags dst_ip 192.0.2.2 ip_ttl 63 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_ttl 63 action drop In tc_flower.sh line 322: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 323: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_flower.sh line 325: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 328: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 337: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 346: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 347: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 356: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 357: $tcflags indev $h1 dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" indev "$h1" dst_mac "$h2mac" action drop In tc_flower.sh line 358: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 359: $tcflags indev $h2 dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" indev "$h2" dst_mac "$h2mac" action drop In tc_flower.sh line 361: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 370: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 371: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 389: $ttl ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$ttl" In tc_flower.sh line 399: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 401: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 402: flower $tcflags mpls_label 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_label 0 action drop In tc_flower.sh line 403: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 404: flower $tcflags mpls_label 1048575 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_label 1048575 action drop In tc_flower.sh line 407: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 416: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 424: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 425: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 437: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 439: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 440: flower $tcflags mpls_tc 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_tc 0 action drop In tc_flower.sh line 441: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 442: flower $tcflags mpls_tc 7 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_tc 7 action drop In tc_flower.sh line 445: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 454: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 462: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 463: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 475: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 477: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 478: flower $tcflags mpls_bos 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_bos 0 action drop In tc_flower.sh line 479: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 480: flower $tcflags mpls_bos 1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_bos 1 action drop In tc_flower.sh line 483: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 493: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 501: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 502: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 514: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 516: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 517: flower $tcflags mpls_ttl 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_ttl 0 action drop In tc_flower.sh line 518: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 519: flower $tcflags mpls_ttl 255 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_ttl 255 action drop In tc_flower.sh line 522: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 531: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 539: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 540: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 552: check_tc_mpls_lse_stats $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_lse_stats "$h2" || return 0 In tc_flower.sh line 555: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 556: flower $tcflags mpls lse depth 1 label 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 label 0 action continue In tc_flower.sh line 557: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 558: flower $tcflags mpls lse depth 1 tc 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 tc 0 action continue In tc_flower.sh line 559: tc filter add dev $h2 ingress protocol mpls_uc pref 3 handle 103 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 3 handle 103 \ In tc_flower.sh line 560: flower $tcflags mpls lse depth 1 bos 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 bos 0 action continue In tc_flower.sh line 561: tc filter add dev $h2 ingress protocol mpls_uc pref 4 handle 104 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 4 handle 104 \ In tc_flower.sh line 562: flower $tcflags mpls lse depth 1 ttl 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 ttl 0 action continue In tc_flower.sh line 565: tc filter add dev $h2 ingress protocol mpls_uc pref 5 handle 105 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 5 handle 105 \ In tc_flower.sh line 566: flower $tcflags mpls lse depth 2 label 1048575 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 label 1048575 action continue In tc_flower.sh line 567: tc filter add dev $h2 ingress protocol mpls_uc pref 6 handle 106 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 6 handle 106 \ In tc_flower.sh line 568: flower $tcflags mpls lse depth 2 tc 7 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 tc 7 action continue In tc_flower.sh line 569: tc filter add dev $h2 ingress protocol mpls_uc pref 7 handle 107 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 7 handle 107 \ In tc_flower.sh line 570: flower $tcflags mpls lse depth 2 bos 1 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 bos 1 action continue In tc_flower.sh line 571: tc filter add dev $h2 ingress protocol mpls_uc pref 8 handle 108 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 8 handle 108 \ In tc_flower.sh line 572: flower $tcflags mpls lse depth 2 ttl 255 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 ttl 255 action continue In tc_flower.sh line 575: tc filter add dev $h2 ingress protocol mpls_uc pref 9 handle 109 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 9 handle 109 \ In tc_flower.sh line 576: flower $tcflags mpls lse depth 1 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 action continue In tc_flower.sh line 577: tc filter add dev $h2 ingress protocol mpls_uc pref 10 handle 110 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 10 handle 110 \ In tc_flower.sh line 578: flower $tcflags mpls lse depth 2 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 action continue In tc_flower.sh line 579: tc filter add dev $h2 ingress protocol mpls_uc pref 11 handle 111 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 11 handle 111 \ In tc_flower.sh line 580: flower $tcflags mpls lse depth 3 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 3 action continue In tc_flower.sh line 584: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 591: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 595: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 600: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 604: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 608: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 612: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 618: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 622: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 664: tc filter del dev $h2 ingress protocol mpls_uc pref 11 handle 111 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 11 handle 111 flower In tc_flower.sh line 665: tc filter del dev $h2 ingress protocol mpls_uc pref 10 handle 110 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 10 handle 110 flower In tc_flower.sh line 666: tc filter del dev $h2 ingress protocol mpls_uc pref 9 handle 109 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 9 handle 109 flower In tc_flower.sh line 667: tc filter del dev $h2 ingress protocol mpls_uc pref 8 handle 108 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 8 handle 108 flower In tc_flower.sh line 668: tc filter del dev $h2 ingress protocol mpls_uc pref 7 handle 107 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 7 handle 107 flower In tc_flower.sh line 669: tc filter del dev $h2 ingress protocol mpls_uc pref 6 handle 106 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 6 handle 106 flower In tc_flower.sh line 670: tc filter del dev $h2 ingress protocol mpls_uc pref 5 handle 105 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 5 handle 105 flower In tc_flower.sh line 671: tc filter del dev $h2 ingress protocol mpls_uc pref 4 handle 104 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 4 handle 104 flower In tc_flower.sh line 672: tc filter del dev $h2 ingress protocol mpls_uc pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 3 handle 103 flower In tc_flower.sh line 673: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 674: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 683: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_flower.sh line 684: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_flower.sh line 709: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_flower.sh line 710: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_flower.sh line 717: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2119 -- Use tc_offload_check "$@" if func... https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... ====== Checking the tree with the patch ====== Checking tools/testing/selftests/net/forwarding/lib.sh - e1a847ed4d4592e29820ec7d4d0de16c1b815b225d7508d588b8b4f99ffa9610 In lib.sh line 97: basename `realpath $driver_path` ^---------------------^ SC2046 (warning): Quote this to prevent word splitting. ^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: basename $(realpath "$driver_path") In lib.sh line 103: local ifnames=`ip -j link show | jq -r ".[].ifname"` ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: local ifnames=$(ip -j link show | jq -r ".[].ifname") In lib.sh line 108: local driver_name=`driver_name_get $ifname` ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local driver_name=$(driver_name_get "$ifname") In lib.sh line 109: if [[ ! -z $driver_name && $driver_name == $NETIF_FIND_DRIVER ]]; then ^-- SC2236 (style): Use -n instead of ! -z. ^----------------^ SC2053 (warning): Quote the right-hand side of == in [[ ]] to prevent glob matching. In lib.sh line 128: source "$net_forwarding_dir/forwarding.config" ^-- SC1091 (info): Not following: ./forwarding.config: openBinaryFile: does not exist (No such file or directory) In lib.sh line 139: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 149: tc filter add dev $dev ingress pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress pref 1 handle 1 flower \ In lib.sh line 151: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 155: tc filter del dev $dev ingress pref 1 handle 1 flower \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress pref 1 handle 1 flower \ In lib.sh line 164: tc filter add dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 166: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 170: tc filter del dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 180: tc filter add dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 184: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 189: tc -j filter show dev $dev ingress protocol mpls_uc | jq . &> /dev/null ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j filter show dev "$dev" ingress protocol mpls_uc | jq . &> /dev/null In lib.sh line 191: tc filter del dev $dev ingress protocol mpls_uc pref 1 handle 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" ingress protocol mpls_uc pref 1 handle 1 \ In lib.sh line 203: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 212: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 221: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 230: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 239: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 248: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 257: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 268: [ 0 -ne $(ethtool --json -S $dev --all-groups --src pmac 2>/dev/null \ ^-- SC2046 (warning): Quote this to prevent word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: [ 0 -ne $(ethtool --json -S "$dev" --all-groups --src pmac 2>/dev/null \ In lib.sh line 297: local driver_name=`driver_name_get $dev` ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local driver_name=$(driver_name_get "$dev") In lib.sh line 299: if [[ $driver_name != $expected ]]; then ^-------^ SC2053 (warning): Quote the right-hand side of != in [[ ]] to prevent glob matching. In lib.sh line 312: local version="$(msend -v)" ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 316: major=$(echo $version | cut -d. -f1) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: major=$(echo "$version" | cut -d. -f1) In lib.sh line 318: if [ $major -lt 3 ]; then ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$major" -lt 3 ]; then In lib.sh line 328: require_command $MZ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$MZ" In lib.sh line 331: require_command $TEAMD ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TEAMD" In lib.sh line 364: echo "SKIP: Importer requires $NUM_NETIFS NETIFS, but only ${#NETIFS[@]} are defined (${NETIFS[@]})" ^----------^ SC2145 (error): Argument mixes string and array. Use * or separate argument. In lib.sh line 382: if [ -z ${NETIFS[p$i]} ]; then ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "${NETIFS[p$i]}" ]; then In lib.sh line 387: ip link show dev ${NETIFS[p$i]} &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "${NETIFS[p$i]}" &> /dev/null In lib.sh line 388: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 389: ip link add ${NETIFS[p$i]} type veth \ ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add "${NETIFS[p$i]}" type veth \ In lib.sh line 390: peer name ${NETIFS[p$j]} ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: peer name "${NETIFS[p$j]}" In lib.sh line 391: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 405: *) echo "Can not create interfaces of type \'$NETIF_TYPE\'" ^-- SC2028 (info): echo may not expand escape sequences. Use printf. In lib.sh line 421: MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].address') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: MAC_ADDR_ORIG["$dev"]=$(ip -j link show dev "$dev" | jq -e '.[].address') In lib.sh line 424: ip link set dev $dev address $new_addr ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$dev" address "$new_addr" In lib.sh line 434: ip link set dev $dev address ${MAC_ADDR_ORIG["$dev"]} ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$dev" address "${MAC_ADDR_ORIG["$dev"]}" In lib.sh line 447: ip link show dev ${NETIFS[p$i]} &> /dev/null ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "${NETIFS[p$i]}" &> /dev/null In lib.sh line 448: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 460: [[ $? != 0 ]] ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 468: for cur in ${arr[@]}; do ^-------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements. In lib.sh line 474: echo $max ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$max" In lib.sh line 490: $@ | grep $addr | grep $flag "$word" ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $@ | grep "$addr" | grep "$flag" "$word" In lib.sh line 513: setup_wait_dev_with_timeout "$dev" $INTERFACE_TIMEOUT $wait_time ^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev_with_timeout "$dev" "$INTERFACE_TIMEOUT" "$wait_time" In lib.sh line 515: if (($?)); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 529: for ((i = 1; i <= $max_iterations; ++i)); do ^-------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables. In lib.sh line 530: ip link show dev $dev up \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link show dev "$dev" up \ In lib.sh line 532: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 535: sleep $wait_time ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sleep "$wait_time" In lib.sh line 549: setup_wait_dev ${NETIFS[p$i]} 0 ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: setup_wait_dev "${NETIFS[p$i]}" 0 In lib.sh line 553: sleep $WAIT_TIME ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sleep "$WAIT_TIME" In lib.sh line 566: slowwait $timeout ip link show dev $dev &> /dev/null ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: slowwait "$timeout" ip link show dev "$dev" &> /dev/null In lib.sh line 567: if (( $? )); then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 570: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" In lib.sh line 588: output=$(echo $output | jq -r $jq_opts "$jq_exp") ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: output=$(echo "$output" | jq -r "$jq_opts" "$jq_exp") In lib.sh line 593: echo $output ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$output" In lib.sh line 595: [ ! -z "$output" ] ^-- SC2236 (style): Use -n instead of ! -z. In lib.sh line 602: read ^--^ SC2162 (info): read without -r will mangle backslashes. In lib.sh line 642: return ${__TB_IDS[$vrf_name]} ^--------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: return "${__TB_IDS[$vrf_name]}" In lib.sh line 650: __vrf_td_id_assign $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __vrf_td_id_assign "$vrf_name" In lib.sh line 653: ip link add dev $vrf_name type vrf table $tb_id ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add dev "$vrf_name" type vrf table $tb_id In lib.sh line 663: __vrf_td_id_lookup $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __vrf_td_id_lookup "$vrf_name" In lib.sh line 668: ip link del dev $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$vrf_name" In lib.sh line 682: ip address $add_del $addrstr dev $if_name ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip address "$add_del" "$addrstr" dev "$if_name" In lib.sh line 692: ip link set dev $if_name master $vrf_name ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" master "$vrf_name" In lib.sh line 693: ip link set dev $if_name up ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" up In lib.sh line 695: __addr_add_del $if_name add "${addrs[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$if_name" add "${addrs[@]}" In lib.sh line 703: __addr_add_del $if_name del "${addrs[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$if_name" del "${addrs[@]}" In lib.sh line 705: ip link set dev $if_name down ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" down In lib.sh line 706: ip link set dev $if_name nomaster ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" nomaster In lib.sh line 719: vrf_create $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_create "$vrf_name" In lib.sh line 720: ip link set dev $vrf_name up ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$vrf_name" up In lib.sh line 721: __simple_if_init $if_name $vrf_name "${array[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_init "$if_name" "$vrf_name" "${array[@]}" In lib.sh line 734: __simple_if_fini $if_name "${array[@]}" ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __simple_if_fini "$if_name" "${array[@]}" In lib.sh line 735: vrf_destroy $vrf_name ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_destroy "$vrf_name" In lib.sh line 745: ip link add name $name type $type \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name "$name" type "$type" \ In lib.sh line 746: local $local remote $remote "$@" ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local "$local" remote "$remote" "$@" In lib.sh line 747: ip link set dev $name up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" up In lib.sh line 754: ip link del dev $name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$name" In lib.sh line 765: ip link add name $name link $if_name type vlan id $vid ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add name "$name" link "$if_name" type vlan id "$vid" In lib.sh line 767: ip link set dev $name master $vrf ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" master "$vrf" In lib.sh line 769: ip link set dev $name up ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$name" up In lib.sh line 770: __addr_add_del $name add "${ips[@]}" ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __addr_add_del "$name" add "${ips[@]}" In lib.sh line 779: ip link del dev $name ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link del dev "$name" In lib.sh line 787: require_command $TEAMD ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: require_command "$TEAMD" In lib.sh line 788: $TEAMD -t $if_name -d -c '{"runner": {"name": "'$mode'"}}' ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $TEAMD -t "$if_name" -d -c '{"runner": {"name": "'"$mode"'"}}' In lib.sh line 790: ip link set dev $slave down ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" down In lib.sh line 791: ip link set dev $slave master $if_name ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" master "$if_name" In lib.sh line 792: ip link set dev $slave up ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$slave" up In lib.sh line 794: ip link set dev $if_name up ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$if_name" up In lib.sh line 801: $TEAMD -t $if_name -k ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $TEAMD -t "$if_name" -k In lib.sh line 808: ip -j link show dev $if_name | jq -r '.[]["master"]' ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j link show dev "$if_name" | jq -r '.[]["master"]' In lib.sh line 817: ip -j -s link show dev $if_name \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s link show dev "$if_name" \ In lib.sh line 818: | jq '.[]["stats64"]["'$dir'"]["'$stat'"]' ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: | jq '.[]["stats64"]["'"$dir"'"]["'"$stat"'"]' In lib.sh line 823: link_stats_get $1 tx packets ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: link_stats_get "$1" tx packets In lib.sh line 828: link_stats_get $1 rx errors ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: link_stats_get "$1" rx errors In lib.sh line 836: ethtool -S $dev | grep "^ *$stat:" | head -n 1 | cut -d: -f2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -S "$dev" | grep "^ *$stat:" | head -n 1 | cut -d: -f2 In lib.sh line 846: ethtool --json -S $dev --groups $grp -- --src $src | \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool --json -S "$dev" --groups "$grp" -- --src "$src" | \ In lib.sh line 847: jq '.[]."'"$grp"'"."'$name'"' ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: jq '.[]."'"$grp"'"."'"$name"'"' In lib.sh line 875: cat /proc/net/dev_snmp6/$dev | grep "^$stat" | cut -f2 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: cat /proc/net/dev_snmp6/"$dev" | grep "^$stat" | cut -f2 In lib.sh line 885: ip -j stats show dev $if_name group offload subgroup $suite | ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j stats show dev "$if_name" group offload subgroup "$suite" | In lib.sh line 895: ip -j -s -s nexthop show id $group_id | ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j -s -s nexthop show id "$group_id" | In lib.sh line 986: ip -j addr show dev $if_name | \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip -j addr show dev "$if_name" | \ In lib.sh line 997: ageing_time=$(ip -j -d link show dev $bridge \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time=$(ip -j -d link show dev "$bridge" \ In lib.sh line 1007: SYSCTL_ORIG[$key]=$(sysctl -n $key) ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: SYSCTL_ORIG[$key]=$(sysctl -n "$key") In lib.sh line 1016: sysctl -qw $key="$value" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw "$key"="$value" In lib.sh line 1023: sysctl -qw $key="${SYSCTL_ORIG[$key]}" ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: sysctl -qw "$key"="${SYSCTL_ORIG[$key]}" In lib.sh line 1044: MTU_ORIG["$dev"]=$(ip -j link show dev $dev | jq -e '.[].mtu') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: MTU_ORIG["$dev"]=$(ip -j link show dev "$dev" | jq -e '.[].mtu') In lib.sh line 1045: ip link set dev $dev mtu $mtu ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$dev" mtu "$mtu" In lib.sh line 1052: ip link set dev $dev mtu ${MTU_ORIG["$dev"]} ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev "$dev" mtu "${MTU_ORIG["$dev"]}" In lib.sh line 1060: ethtool -k ${NETIFS[p$i]} \ ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ethtool -k "${NETIFS[p$i]}" \ In lib.sh line 1062: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In lib.sh line 1080: tc filter add dev $dev $direction pref 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" "$direction" pref 1 \ In lib.sh line 1082: || tc filter add dev $dev $direction pref 1 \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: || tc filter add dev "$dev" "$direction" pref 1 \ In lib.sh line 1091: tc filter del dev $dev $direction pref 1 flower ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$dev" "$direction" pref 1 flower In lib.sh line 1102: tc filter $add_del dev "$tundev" ingress \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter "$add_del" dev "$tundev" ingress \ In lib.sh line 1103: proto ip$vsuf pref $pref \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto ip"$vsuf" pref "$pref" \ In lib.sh line 1104: flower ip_proto icmp$vsuf $filter \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto icmp"$vsuf" "$filter" \ In lib.sh line 1147: tc filter $add_del dev "$dev" ingress \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter "$add_del" dev "$dev" ingress \ In lib.sh line 1148: proto 802.1q pref $pref \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: proto 802.1q pref "$pref" \ In lib.sh line 1149: flower $filter \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$filter" \ In lib.sh line 1178: __icmp_capture_add_del $add_del $((dscp + 100)) "" $dev \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __icmp_capture_add_del "$add_del" $((dscp + 100)) "" "$dev" \ In lib.sh line 1188: __dscp_capture_add_del add $dev $base ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __dscp_capture_add_del add "$dev" "$base" In lib.sh line 1196: __dscp_capture_add_del del $dev $base ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __dscp_capture_add_del del "$dev" "$base" In lib.sh line 1206: local t=$(tc_rule_stats_get $dev $((dscp + 100))) ^-- SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local t=$(tc_rule_stats_get "$dev" $((dscp + 100))) In lib.sh line 1215: tc qdisc add dev $dev clsact ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$dev" clsact In lib.sh line 1216: tc filter add dev $dev ingress \ ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$dev" ingress \ In lib.sh line 1262: diff=$(echo $weights_ratio - $packets_ratio | bc -l) ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: diff=$(echo "$weights_ratio" - "$packets_ratio" | bc -l) In lib.sh line 1275: ip netns exec $name bash <<-EOF ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip netns exec "$name" bash <<-EOF In lib.sh line 1292: vrf_name=$(master_name_get $if_name) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_name=$(master_name_get "$if_name") In lib.sh line 1293: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1294: $PING $args $dip -c $PING_COUNT -i 0.1 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING" "$args" "$dip" -c "$PING_COUNT" -i 0.1 \ In lib.sh line 1295: -w $PING_TIMEOUT &> /dev/null ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -w "$PING_TIMEOUT" &> /dev/null In lib.sh line 1302: ping_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$1" "$2" In lib.sh line 1311: ping_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping_do "$1" "$2" In lib.sh line 1323: vrf_name=$(master_name_get $if_name) ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vrf_name=$(master_name_get "$if_name") In lib.sh line 1324: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1325: $PING6 $args $dip -c $PING_COUNT -i 0.1 \ ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$PING6" "$args" "$dip" -c "$PING_COUNT" -i 0.1 \ In lib.sh line 1326: -w $PING_TIMEOUT &> /dev/null ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -w "$PING_TIMEOUT" &> /dev/null In lib.sh line 1333: ping6_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$1" "$2" In lib.sh line 1342: ping6_do $1 $2 ^-- SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ping6_do "$1" "$2" In lib.sh line 1358: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1365: bridge link set dev $br_port1 flood off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" flood off In lib.sh line 1367: ip link set $host1_if promisc on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host1_if" promisc on In lib.sh line 1368: tc qdisc add dev $host1_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host1_if" ingress In lib.sh line 1369: tc filter add dev $host1_if ingress protocol ip pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host1_if" ingress protocol ip pref 1 handle 101 \ In lib.sh line 1372: $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host2_if" -c 1 -p 64 -b $mac -t ip -q In lib.sh line 1375: tc -j -s filter show dev $host1_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host1_if" ingress \ In lib.sh line 1380: $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 -p 64 -a $mac -t ip -q In lib.sh line 1383: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1387: $MZ $host2_if -c 1 -p 64 -b $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host2_if" -c 1 -p 64 -b $mac -t ip -q In lib.sh line 1390: tc -j -s filter show dev $host1_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host1_if" ingress \ In lib.sh line 1397: ageing_time=$(bridge_ageing_time_get $bridge) ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ageing_time=$(bridge_ageing_time_get "$bridge") In lib.sh line 1400: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1404: bridge link set dev $br_port1 learning off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" learning off In lib.sh line 1406: $MZ $host1_if -c 1 -p 64 -a $mac -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 -p 64 -a $mac -t ip -q In lib.sh line 1409: bridge -j fdb show br $bridge brport $br_port1 \ ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge -j fdb show br "$bridge" brport "$br_port1" \ In lib.sh line 1413: bridge link set dev $br_port1 learning on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" learning on In lib.sh line 1415: tc filter del dev $host1_if ingress protocol ip pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host1_if" ingress protocol ip pref 1 handle 101 flower In lib.sh line 1416: tc qdisc del dev $host1_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host1_if" ingress In lib.sh line 1417: ip link set $host1_if promisc off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host1_if" promisc off In lib.sh line 1419: bridge link set dev $br_port1 flood on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port1" flood on In lib.sh line 1435: ip link set $host2_if promisc on ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host2_if" promisc on In lib.sh line 1436: tc qdisc add dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host2_if" ingress In lib.sh line 1437: tc filter add dev $host2_if ingress protocol ip pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host2_if" ingress protocol ip pref 1 handle 101 \ In lib.sh line 1438: flower dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower dst_mac "$mac" action drop In lib.sh line 1440: $MZ $host1_if -c 1 -p 64 -b $mac -B $ip -t ip -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" -c 1 -p 64 -b "$mac" -B "$ip" -t ip -q In lib.sh line 1443: tc -j -s filter show dev $host2_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host2_if" ingress \ In lib.sh line 1451: tc filter del dev $host2_if ingress protocol ip pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host2_if" ingress protocol ip pref 1 handle 101 flower In lib.sh line 1452: tc qdisc del dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host2_if" ingress In lib.sh line 1453: ip link set $host2_if promisc off ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$host2_if" promisc off In lib.sh line 1468: bridge link set dev $br_port flood off ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" flood off In lib.sh line 1470: flood_test_do false $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do false $mac $ip "$host1_if" "$host2_if" In lib.sh line 1473: bridge link set dev $br_port flood on ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" flood on In lib.sh line 1475: flood_test_do true $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do true $mac $ip "$host1_if" "$host2_if" In lib.sh line 1491: bridge link set dev $br_port mcast_flood off ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" mcast_flood off In lib.sh line 1493: flood_test_do false $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do false $mac $ip "$host1_if" "$host2_if" In lib.sh line 1496: bridge link set dev $br_port mcast_flood on ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: bridge link set dev "$br_port" mcast_flood on In lib.sh line 1498: flood_test_do true $mac $ip $host1_if $host2_if ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_test_do true $mac $ip "$host1_if" "$host2_if" In lib.sh line 1511: flood_unicast_test $br_port $host1_if $host2_if ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_unicast_test "$br_port" "$host1_if" "$host2_if" In lib.sh line 1512: flood_multicast_test $br_port $host1_if $host2_if ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flood_multicast_test "$br_port" "$host1_if" "$host2_if" In lib.sh line 1525: $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h_in" -p "$pktsize" -A "$sip" -B "$dip" -c 0 \ In lib.sh line 1526: -a own -b $dmac -t "$proto" -q "${mz_args[@]}" & ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -a own -b "$dmac" -t "$proto" -q "${mz_args[@]}" & In lib.sh line 1539: __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __start_traffic "$pktsize" udp "$h_in" "$sip" "$dip" "$dmac" \ In lib.sh line 1552: __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: __start_traffic "$pktsize" tcp "$h_in" "$sip" "$dip" "$dmac" \ In lib.sh line 1599: if [ -z $ns ]; then ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "$ns" ]; then In lib.sh line 1605: if [ -z $SUDO_USER ] ; then ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ -z "$SUDO_USER" ] ; then In lib.sh line 1611: $ns_cmd tcpdump $TCPDUMP_EXTRA_FLAGS -e -n -Q in -i $if_name \ ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ns_cmd tcpdump "$TCPDUMP_EXTRA_FLAGS" -e -n -Q in -i "$if_name" \ In lib.sh line 1612: -s 65535 -B 32768 $capuser -w ${capfile[$if_name]} \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: -s 65535 -B 32768 "$capuser" -w "${capfile[$if_name]}" \ In lib.sh line 1632: rm ${capfile[$if_name]} ${capout[$if_name]} ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm "${capfile[$if_name]}" "${capout[$if_name]}" In lib.sh line 1639: tcpdump -e -n -r ${capfile[$if_name]} 2>&1 ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tcpdump -e -n -r "${capfile[$if_name]}" 2>&1 In lib.sh line 1662: tc qdisc add dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$host2_if" ingress In lib.sh line 1663: tc filter add dev $host2_if ingress protocol $tc_proto pref 1 handle 101 \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$host2_if" ingress protocol $tc_proto pref 1 handle 101 \ In lib.sh line 1664: flower ip_proto udp dst_mac $mac action drop ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower ip_proto udp dst_mac "$mac" action drop In lib.sh line 1666: $MZ $host1_if $mz_v6arg -c 1 -p 64 -b $mac -A $src_ip -B $ip -t udp "dp=4096,sp=2048" -q ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$host1_if" $mz_v6arg -c 1 -p 64 -b "$mac" -A "$src_ip" -B "$ip" -t udp "dp=4096,sp=2048" -q In lib.sh line 1669: tc -j -s filter show dev $host2_if ingress \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc -j -s filter show dev "$host2_if" ingress \ In lib.sh line 1672: if [[ $? -eq 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. In lib.sh line 1676: tc filter del dev $host2_if ingress protocol $tc_proto pref 1 handle 101 flower ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$host2_if" ingress protocol $tc_proto pref 1 handle 101 flower In lib.sh line 1677: tc qdisc del dev $host2_if ingress ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$host2_if" ingress In lib.sh line 1712: mcast_packet_test $TEST_GROUP_MAC $src $TEST_GROUP $h2 $h1 ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2154 (warning): h2 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2154 (warning): h1 is referenced but not assigned. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mcast_packet_test "$TEST_GROUP_MAC" "$src" "$TEST_GROUP" "$h2" "$h1" In lib.sh line 1714: if [ $should_fwd -eq 1 ]; then ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$should_fwd" -eq 1 ]; then In lib.sh line 1728: if [ $is_blocked -eq 1 ]; then ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: if [ "$is_blocked" -eq 1 ]; then In lib.sh line 1753: local vrf_name=$(master_name_get $if_name) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local vrf_name=$(master_name_get "$if_name") In lib.sh line 1758: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1759: mreceive -g $group -I $if_name > /dev/null 2>&1 & ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mreceive -g "$group" -I "$if_name" > /dev/null 2>&1 & In lib.sh line 1774: local vrf_name=$(master_name_get $if_name) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local vrf_name=$(master_name_get "$if_name") In lib.sh line 1776: ip vrf exec $vrf_name \ ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip vrf exec "$vrf_name" \ In lib.sh line 1777: msend -g $groups -I $if_name -c 1 > /dev/null 2>&1 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: msend -g "$groups" -I "$if_name" -c 1 > /dev/null 2>&1 In lib.sh line 1831: tmpfile=`mktemp /var/run/nexthoptestXXX` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. Did you mean: tmpfile=$(mktemp /var/run/nexthoptestXXX) In lib.sh line 1832: mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null` ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: mpid=$(($ip monitor "$mtype" > "$tmpfile" & echo $!) 2>/dev/null) In lib.sh line 1845: kill $mpid ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: kill "$mpid" In lib.sh line 1846: local lines=`grep '^\w' $tmpfile | wc -l` ^---^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`. ^-----------------^ SC2126 (style): Consider using 'grep -c' instead of 'grep|wc -l'. ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local lines=$(grep '^\w' "$tmpfile" | wc -l) In lib.sh line 1847: test $lines -eq $el ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: test "$lines" -eq "$el" In lib.sh line 1849: rm -rf $tmpfile ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: rm -rf "$tmpfile" In lib.sh line 1863: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1864: $ip stats set dev $dev ${type}_stats on ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ip stats set dev "$dev" "${type}"_stats on In lib.sh line 1865: stop_ip_monitor $ipmout 1 "${type}_stats enablement" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats enablement" In lib.sh line 1868: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1870: stop_ip_monitor $ipmout 1 "${type}_stats installation" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats installation" In lib.sh line 1873: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1875: stop_ip_monitor $ipmout 1 "${type}_stats deinstallation" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats deinstallation" In lib.sh line 1878: local ipmout=$(start_ip_monitor stats "$ip") ^----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1879: $ip stats set dev $dev ${type}_stats off ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $ip stats set dev "$dev" "${type}"_stats off In lib.sh line 1880: stop_ip_monitor $ipmout 1 "${type}_stats disablement" ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: stop_ip_monitor "$ipmout" 1 "${type}_stats disablement" In lib.sh line 1889: printf '%02x:' ${IP//./ } | ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf '%02x:' "${IP//./ }" | In lib.sh line 1908: echo $allcol_ip | tr : '\n' | ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: echo "$allcol_ip" | tr : '\n' | In lib.sh line 1926: printf "%04x" $u16 | sed 's/^/000/;s/^.*\(..\)\(..\)$/\1:\2/' ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: printf "%04x" "$u16" | sed 's/^/000/;s/^.*\(..\)\(..\)$/\1:\2/' In lib.sh line 1965: local ckbytes=$(u16_to_bytes $checksum) ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local ckbytes=$(u16_to_bytes "$checksum") In lib.sh line 1967: echo "$payload" | sed "s/CHECKSUM/$ckbytes/g" ^-- SC2001 (style): See if you can use ${variable//search/replace} instead. In lib.sh line 1984: local nsources=$(u16_to_bytes ${#sources[@]}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 1988: )"22:"$( : Type - Membership Report ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1989: )"00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1990: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1991: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1992: )"00:01:"$( : Number of Group Records ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1993: )"01:"$( : Record Type - IS_IN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1994: )"00:"$( : Aux Data Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1995: )"${nsources}:"$( : Number of Sources ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 1996: )"$(ipv4_to_bytes $GRP):"$( : Multicast Address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv4_to_bytes "$GRP"):"$( : Multicast Address In lib.sh line 1998: ipv4_to_bytes $src ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ipv4_to_bytes "$src" In lib.sh line 2002: local checksum=$(payload_template_calc_checksum "$igmpv3") ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2004: payload_template_expand_checksum "$igmpv3" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$igmpv3" "$checksum" In lib.sh line 2011: local payload=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2012: )"17:"$( : Type - Leave Group ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2013: )"00:"$( : Max Resp Time - not meaningful ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2014: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2015: )"$(ipv4_to_bytes $GRP)"$( : Group Address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(ipv4_to_bytes "$GRP")"$( : Group Address In lib.sh line 2017: local checksum=$(payload_template_calc_checksum "$payload") ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2019: payload_template_expand_checksum "$payload" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$payload" "$checksum" In lib.sh line 2030: local nsources=$(u16_to_bytes ${#sources[@]}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2033: )"3a:"$( : Next Header - ICMPv6 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2034: )"00:"$( : Hdr Ext Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2039: )"8f:"$( : Type - MLDv2 Report ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2040: )"00:"$( : Code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2041: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2042: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2043: )"00:01:"$( : Number of Group Records ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2044: )"01:"$( : Record Type - IS_IN ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2045: )"00:"$( : Aux Data Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2046: )"${nsources}:"$( : Number of Sources ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2047: )"$(ipv6_to_bytes $GRP):"$( : Multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : Multicast address In lib.sh line 2049: ipv6_to_bytes $src ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ipv6_to_bytes "$src" In lib.sh line 2054: local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6)) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local len=$(u16_to_bytes $(payload_template_nbytes "$icmpv6")) In lib.sh line 2055: local sudohdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2056: )"$(ipv6_to_bytes $SIP):"$( : SIP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$SIP"):"$( : SIP In lib.sh line 2057: )"$(ipv6_to_bytes $GRP):"$( : DIP is multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : DIP is multicast address In lib.sh line 2058: )"${len}:"$( : Upper-layer length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2061: local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local checksum=$(payload_template_calc_checksum "${sudohdr}""${icmpv6}") In lib.sh line 2063: payload_template_expand_checksum "$hbh$icmpv6" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$hbh$icmpv6" "$checksum" In lib.sh line 2075: )"3a:"$( : Next Header - ICMPv6 ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2076: )"00:"$( : Hdr Ext Len ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2081: )"84:"$( : Type - MLDv1 Done ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2082: )"00:"$( : Code ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2083: )"CHECKSUM:"$( : Checksum ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2084: )"00:00:"$( : Max Resp Delay - not meaningful ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2085: )"00:00:"$( : Reserved ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2086: )"$(ipv6_to_bytes $GRP):"$( : Multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : Multicast address In lib.sh line 2089: local len=$(u16_to_bytes $(payload_template_nbytes $icmpv6)) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-- SC2046 (warning): Quote this to prevent word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local len=$(u16_to_bytes $(payload_template_nbytes "$icmpv6")) In lib.sh line 2090: local sudohdr=$(: ^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values. In lib.sh line 2091: )"$(ipv6_to_bytes $SIP):"$( : SIP ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$SIP"):"$( : SIP In lib.sh line 2092: )"$(ipv6_to_bytes $GRP):"$( : DIP is multicast address ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. Did you mean: )"$(ipv6_to_bytes "$GRP"):"$( : DIP is multicast address In lib.sh line 2093: )"${len}:"$( : Upper-layer length ^-- SC2027 (warning): The surrounding quotes actually unquote this. Remove or escape them. In lib.sh line 2096: local checksum=$(payload_template_calc_checksum ${sudohdr}${icmpv6}) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local checksum=$(payload_template_calc_checksum "${sudohdr}""${icmpv6}") In lib.sh line 2098: payload_template_expand_checksum "$hbh$icmpv6" $checksum ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: payload_template_expand_checksum "$hbh$icmpv6" "$checksum" In lib.sh line 2127: log_test_skip $src:$caller ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: log_test_skip "$src":"$caller" In lib.sh line 2128: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" In lib.sh line 2145: local mac_addr=$(mac_get $dev) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local mac_addr=$(mac_get "$dev") In lib.sh line 2146: local tmp=$(ether_addr_to_u64 $mac_addr) ^-^ SC2155 (warning): Declare and assign separately to avoid masking return values. ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: local tmp=$(ether_addr_to_u64 "$mac_addr") In lib.sh line 2149: ip link set $dev up ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set "$dev" up In lib.sh line 2150: ip link add link $dev name macvlan-tmp type macvlan mode private ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link add link "$dev" name macvlan-tmp type macvlan mode private In lib.sh line 2151: ip link set macvlan-tmp address $(u64_to_ether_addr $((tmp + 1))) ^-- SC2046 (warning): Quote this to prevent word splitting. In lib.sh line 2154: promisc=$(ip -j -d link show dev $dev | jq -r '.[].promiscuity') ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: promisc=$(ip -j -d link show dev "$dev" | jq -r '.[].promiscuity') For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u... Checking tools/testing/selftests/net/forwarding/tc_flower.sh - 55a6132b278432de62e5b75aa7b8112f70c4e3f63e33c54d77f351d49b845776 In tc_flower.sh line 18: simple_if_init $h1 192.0.2.1/24 198.51.100.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h1" 192.0.2.1/24 198.51.100.1/24 In tc_flower.sh line 23: simple_if_fini $h1 192.0.2.1/24 198.51.100.1/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h1" 192.0.2.1/24 198.51.100.1/24 In tc_flower.sh line 28: simple_if_init $h2 192.0.2.2/24 198.51.100.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_init "$h2" 192.0.2.2/24 198.51.100.2/24 In tc_flower.sh line 29: tc qdisc add dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc add dev "$h2" clsact In tc_flower.sh line 34: tc qdisc del dev $h2 clsact ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc qdisc del dev "$h2" clsact In tc_flower.sh line 35: simple_if_fini $h2 192.0.2.2/24 198.51.100.2/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: simple_if_fini "$h2" 192.0.2.2/24 198.51.100.2/24 In tc_flower.sh line 44: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 45: $tcflags dst_mac $dummy_mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$dummy_mac" action drop In tc_flower.sh line 46: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 47: $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 49: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 58: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 59: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 70: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 71: $tcflags src_mac $dummy_mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_mac "$dummy_mac" action drop In tc_flower.sh line 72: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 73: $tcflags src_mac $h1mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_mac "$h1mac" action drop In tc_flower.sh line 75: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 84: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 85: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 94: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 95: $tcflags dst_ip 198.51.100.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 198.51.100.2 action drop In tc_flower.sh line 96: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 97: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_flower.sh line 98: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 99: $tcflags dst_ip 192.0.2.0/24 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.0/24 action drop In tc_flower.sh line 101: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 110: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 112: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 118: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 119: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 128: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 129: $tcflags src_ip 198.51.100.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 198.51.100.1 action drop In tc_flower.sh line 130: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 131: $tcflags src_ip 192.0.2.1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 192.0.2.1 action drop In tc_flower.sh line 132: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 133: $tcflags src_ip 192.0.2.0/24 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" src_ip 192.0.2.0/24 action drop In tc_flower.sh line 135: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 144: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 146: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 152: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 153: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 162: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 163: $tcflags ip_flags frag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags frag action continue In tc_flower.sh line 164: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 165: $tcflags ip_flags firstfrag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags firstfrag action continue In tc_flower.sh line 166: tc filter add dev $h2 ingress protocol ip pref 3 handle 103 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 3 handle 103 flower \ In tc_flower.sh line 167: $tcflags ip_flags nofirstfrag action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags nofirstfrag action continue In tc_flower.sh line 168: tc filter add dev $h2 ingress protocol ip pref 4 handle 104 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 4 handle 104 flower \ In tc_flower.sh line 169: $tcflags ip_flags nofrag action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" ip_flags nofrag action drop In tc_flower.sh line 171: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 186: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 201: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 203: $MZ $h1 -c 1 -p 1000 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 1000 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 218: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 219: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 220: tc filter del dev $h2 ingress protocol ip pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 3 handle 103 flower In tc_flower.sh line 221: tc filter del dev $h2 ingress protocol ip pref 4 handle 104 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 4 handle 104 flower In tc_flower.sh line 230: vlan_create $h2 85 v$h2 192.0.2.11/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$h2" 85 v"$h2" 192.0.2.11/24 In tc_flower.sh line 232: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 101 \ In tc_flower.sh line 233: flower vlan_prio 6 $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_prio 6 "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 234: tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 2 handle 102 \ In tc_flower.sh line 235: flower vlan_prio 7 $tcflags dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_prio 7 "$tcflags" dst_mac "$h2mac" action drop In tc_flower.sh line 237: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 7:85 -t ip -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 7:85 -t ip -q In tc_flower.sh line 238: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 0:85 -t ip -q In tc_flower.sh line 246: tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 2 handle 102 flower In tc_flower.sh line 247: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 101 flower In tc_flower.sh line 249: vlan_destroy $h2 85 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 85 In tc_flower.sh line 258: vlan_create $h2 85 v$h2 192.0.2.11/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$h2" 85 v"$h2" 192.0.2.11/24 In tc_flower.sh line 259: vlan_create $h2 75 v$h2 192.0.2.10/24 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_create "$h2" 75 v"$h2" 192.0.2.10/24 In tc_flower.sh line 261: tc filter add dev $h2 ingress protocol 802.1q pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 1 handle 101 \ In tc_flower.sh line 262: flower vlan_id 75 $tcflags action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_id 75 "$tcflags" action drop In tc_flower.sh line 263: tc filter add dev $h2 ingress protocol 802.1q pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol 802.1q pref 2 handle 102 \ In tc_flower.sh line 264: flower vlan_id 85 $tcflags action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower vlan_id 85 "$tcflags" action drop In tc_flower.sh line 266: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -B 192.0.2.11 -Q 0:85 -t ip -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -B 192.0.2.11 -Q 0:85 -t ip -q In tc_flower.sh line 274: tc filter del dev $h2 ingress protocol 802.1q pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 2 handle 102 flower In tc_flower.sh line 275: tc filter del dev $h2 ingress protocol 802.1q pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol 802.1q pref 1 handle 101 flower In tc_flower.sh line 277: vlan_destroy $h2 75 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 75 In tc_flower.sh line 278: vlan_destroy $h2 85 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: vlan_destroy "$h2" 85 In tc_flower.sh line 287: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 288: $tcflags dst_ip 192.0.2.2 ip_tos 0x20 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_tos 0x20 action drop In tc_flower.sh line 289: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 290: $tcflags dst_ip 192.0.2.2 ip_tos 0x18 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_tos 0x18 action drop In tc_flower.sh line 292: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 301: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 310: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 311: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 320: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 321: $tcflags dst_ip 192.0.2.2 ip_ttl 63 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 ip_ttl 63 action drop In tc_flower.sh line 322: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 323: $tcflags dst_ip 192.0.2.2 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" dst_ip 192.0.2.2 action drop In tc_flower.sh line 325: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 328: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 337: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 346: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 347: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 356: tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 1 handle 101 flower \ In tc_flower.sh line 357: $tcflags indev $h1 dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" indev "$h1" dst_mac "$h2mac" action drop In tc_flower.sh line 358: tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol ip pref 2 handle 102 flower \ In tc_flower.sh line 359: $tcflags indev $h2 dst_mac $h2mac action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" indev "$h2" dst_mac "$h2mac" action drop In tc_flower.sh line 361: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" -A 192.0.2.1 -B 192.0.2.2 \ In tc_flower.sh line 370: tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 2 handle 102 flower In tc_flower.sh line 371: tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol ip pref 1 handle 101 flower In tc_flower.sh line 389: $ttl ^--^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$ttl" In tc_flower.sh line 399: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 401: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 402: flower $tcflags mpls_label 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_label 0 action drop In tc_flower.sh line 403: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 404: flower $tcflags mpls_label 1048575 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_label 1048575 action drop In tc_flower.sh line 407: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 416: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 424: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 425: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 437: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 439: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 440: flower $tcflags mpls_tc 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_tc 0 action drop In tc_flower.sh line 441: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 442: flower $tcflags mpls_tc 7 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_tc 7 action drop In tc_flower.sh line 445: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 454: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 462: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 463: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 475: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 477: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 478: flower $tcflags mpls_bos 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_bos 0 action drop In tc_flower.sh line 479: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 480: flower $tcflags mpls_bos 1 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_bos 1 action drop In tc_flower.sh line 483: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 493: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 501: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 502: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 514: check_tc_mpls_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_support "$h2" || return 0 In tc_flower.sh line 516: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 517: flower $tcflags mpls_ttl 0 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_ttl 0 action drop In tc_flower.sh line 518: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 519: flower $tcflags mpls_ttl 255 action drop ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls_ttl 255 action drop In tc_flower.sh line 522: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 531: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 539: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 540: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 552: check_tc_mpls_lse_stats $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_mpls_lse_stats "$h2" || return 0 In tc_flower.sh line 555: tc filter add dev $h2 ingress protocol mpls_uc pref 1 handle 101 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 1 handle 101 \ In tc_flower.sh line 556: flower $tcflags mpls lse depth 1 label 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 label 0 action continue In tc_flower.sh line 557: tc filter add dev $h2 ingress protocol mpls_uc pref 2 handle 102 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 2 handle 102 \ In tc_flower.sh line 558: flower $tcflags mpls lse depth 1 tc 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 tc 0 action continue In tc_flower.sh line 559: tc filter add dev $h2 ingress protocol mpls_uc pref 3 handle 103 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 3 handle 103 \ In tc_flower.sh line 560: flower $tcflags mpls lse depth 1 bos 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 bos 0 action continue In tc_flower.sh line 561: tc filter add dev $h2 ingress protocol mpls_uc pref 4 handle 104 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 4 handle 104 \ In tc_flower.sh line 562: flower $tcflags mpls lse depth 1 ttl 0 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 ttl 0 action continue In tc_flower.sh line 565: tc filter add dev $h2 ingress protocol mpls_uc pref 5 handle 105 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 5 handle 105 \ In tc_flower.sh line 566: flower $tcflags mpls lse depth 2 label 1048575 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 label 1048575 action continue In tc_flower.sh line 567: tc filter add dev $h2 ingress protocol mpls_uc pref 6 handle 106 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 6 handle 106 \ In tc_flower.sh line 568: flower $tcflags mpls lse depth 2 tc 7 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 tc 7 action continue In tc_flower.sh line 569: tc filter add dev $h2 ingress protocol mpls_uc pref 7 handle 107 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 7 handle 107 \ In tc_flower.sh line 570: flower $tcflags mpls lse depth 2 bos 1 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 bos 1 action continue In tc_flower.sh line 571: tc filter add dev $h2 ingress protocol mpls_uc pref 8 handle 108 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 8 handle 108 \ In tc_flower.sh line 572: flower $tcflags mpls lse depth 2 ttl 255 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 ttl 255 action continue In tc_flower.sh line 575: tc filter add dev $h2 ingress protocol mpls_uc pref 9 handle 109 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 9 handle 109 \ In tc_flower.sh line 576: flower $tcflags mpls lse depth 1 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 1 action continue In tc_flower.sh line 577: tc filter add dev $h2 ingress protocol mpls_uc pref 10 handle 110 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 10 handle 110 \ In tc_flower.sh line 578: flower $tcflags mpls lse depth 2 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 2 action continue In tc_flower.sh line 579: tc filter add dev $h2 ingress protocol mpls_uc pref 11 handle 111 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter add dev "$h2" ingress protocol mpls_uc pref 11 handle 111 \ In tc_flower.sh line 580: flower $tcflags mpls lse depth 3 action continue ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: flower "$tcflags" mpls lse depth 3 action continue In tc_flower.sh line 584: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 591: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 595: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 600: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 604: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 608: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 612: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 618: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 622: $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac "$pkt" -q ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ "$h1" -c 1 -p 64 -a "$h1mac" -b "$h2mac" "$pkt" -q In tc_flower.sh line 664: tc filter del dev $h2 ingress protocol mpls_uc pref 11 handle 111 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 11 handle 111 flower In tc_flower.sh line 665: tc filter del dev $h2 ingress protocol mpls_uc pref 10 handle 110 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 10 handle 110 flower In tc_flower.sh line 666: tc filter del dev $h2 ingress protocol mpls_uc pref 9 handle 109 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 9 handle 109 flower In tc_flower.sh line 667: tc filter del dev $h2 ingress protocol mpls_uc pref 8 handle 108 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 8 handle 108 flower In tc_flower.sh line 668: tc filter del dev $h2 ingress protocol mpls_uc pref 7 handle 107 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 7 handle 107 flower In tc_flower.sh line 669: tc filter del dev $h2 ingress protocol mpls_uc pref 6 handle 106 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 6 handle 106 flower In tc_flower.sh line 670: tc filter del dev $h2 ingress protocol mpls_uc pref 5 handle 105 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 5 handle 105 flower In tc_flower.sh line 671: tc filter del dev $h2 ingress protocol mpls_uc pref 4 handle 104 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 4 handle 104 flower In tc_flower.sh line 672: tc filter del dev $h2 ingress protocol mpls_uc pref 3 handle 103 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 3 handle 103 flower In tc_flower.sh line 673: tc filter del dev $h2 ingress protocol mpls_uc pref 2 handle 102 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 2 handle 102 flower In tc_flower.sh line 674: tc filter del dev $h2 ingress protocol mpls_uc pref 1 handle 101 flower ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tc filter del dev "$h2" ingress protocol mpls_uc pref 1 handle 101 flower In tc_flower.sh line 683: check_tc_erspan_support $h2 || return 0 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: check_tc_erspan_support "$h2" || return 0 In tc_flower.sh line 686: tunnel_create erspan1 erspan 192.0.2.1 192.0.2.2 dev $h1 seq key 1001 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create erspan1 erspan 192.0.2.1 192.0.2.2 dev "$h1" seq key 1001 \ In tc_flower.sh line 688: tunnel_create erspan2 erspan 192.0.2.1 192.0.2.2 dev $h1 seq key 1002 \ ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: tunnel_create erspan2 erspan 192.0.2.1 192.0.2.2 dev "$h1" seq key 1002 \ In tc_flower.sh line 691: ip link set dev erspan1 master v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev erspan1 master v"$h1" In tc_flower.sh line 692: ip link set dev erspan2 master v$h1 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev erspan2 master v"$h1" In tc_flower.sh line 696: ip link set dev ep-ex master v$h2 ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: ip link set dev ep-ex master v"$h2" In tc_flower.sh line 701: $tcflags enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ In tc_flower.sh line 706: $tcflags enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ ^------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: "$tcflags" enc_src_ip 192.0.2.1 enc_dst_ip 192.0.2.2 \ In tc_flower.sh line 710: $MZ erspan1 -c 1 -p 64 -a $ep1mac -b $h2mac -t ip -q ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ erspan1 -c 1 -p 64 -a "$ep1mac" -b "$h2mac" -t ip -q In tc_flower.sh line 714: ep2mac=$(mac_get erspan2) ^----^ SC2034 (warning): ep2mac appears unused. Verify use (or export if used externally). In tc_flower.sh line 715: $MZ erspan2 -c 1 -p 64 -a $ep1mac -b $h2mac -t ip -q ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. ^----^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: $MZ erspan2 -c 1 -p 64 -a "$ep1mac" -b "$h2mac" -t ip -q In tc_flower.sh line 733: h1mac=$(mac_get $h1) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h1mac=$(mac_get "$h1") In tc_flower.sh line 734: h2mac=$(mac_get $h2) ^-^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: h2mac=$(mac_get "$h2") In tc_flower.sh line 759: tc_offload_check ^--------------^ SC2119 (info): Use tc_offload_check "$@" if function's $1 should mean script's $1. In tc_flower.sh line 760: if [[ $? -ne 0 ]]; then ^-- SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?. In tc_flower.sh line 767: exit $EXIT_STATUS ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting. Did you mean: exit "$EXIT_STATUS" For more information: https://www.shellcheck.net/wiki/SC2034 -- ep2mac appears unused. Verify use... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2119 -- Use tc_offload_check "$@" if func...