====== Checking before the patch ====== ====== Checking the tree with the patch ====== New warnings added --- /tmp/tmp.55zqQYm0k1 2025-12-21 22:03:53.656095247 -0500 +++ /tmp/tmp.s5dtsE5Xtg 2025-12-21 22:03:54.029091691 -0500 @@ -70,0 +71,5 @@ +In arp_ndisc_no_bcastnull_poison.sh line 55: + veth0_ifindex=$(ip -j link show veth0 | jq -r '.[0].ifindex') + ^-----------^ SC2034 (warning): veth0_ifindex appears unused. Verify use (or export if used externally). + + @@ -104,3 +109,2 @@ - ./arp_send ${veth0_ifindex} ${BCAST_MAC} ${VALID_MAC} ${op} \ - ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting. - ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. + python3 ./arp_send.py "veth0" ${BCAST_MAC} ${VALID_MAC} ${op} \ + ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. @@ -109 +113 @@ - ./arp_send "${veth0_ifindex}" ${BCAST_MAC} ${VALID_MAC} "${op}" \ + python3 ./arp_send.py "veth0" ${BCAST_MAC} ${VALID_MAC} "${op}" \ @@ -129,4 +133,2 @@ - ./arp_send ${veth0_ifindex} ${l2_dmac} ${VALID_MAC} ${op} \ - ^--------------^ 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. + python3 ./arp_send.py "veth0" ${BCAST_MAC} ${VALID_MAC} ${op} \ + ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. @@ -135 +137 @@ - ./arp_send "${veth0_ifindex}" "${l2_dmac}" ${VALID_MAC} "${op}" \ + python3 ./arp_send.py "veth0" ${BCAST_MAC} ${VALID_MAC} "${op}" \ @@ -188,4 +190,2 @@ - ./ndisc_send ${veth0_ifindex} ${l2_dmac} ${VALID_MAC} ${dst_ip} \ - ^--------------^ 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. + python3 ./ndisc_send.py "veth0" ${l2_dmac} ${VALID_MAC} \ + ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. @@ -194 +194 @@ - ./ndisc_send "${veth0_ifindex}" "${l2_dmac}" ${VALID_MAC} "${dst_ip}" \ + python3 ./ndisc_send.py "veth0" "${l2_dmac}" ${VALID_MAC} \ @@ -198,2 +198,3 @@ - ${V6_ADDR0} ${tip} ${op} ${VALID_MAC} - ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. + ${dst_ip} ${V6_ADDR0} ${tip} ${op} ${VALID_MAC} + ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting. + ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. @@ -202 +203 @@ - ${V6_ADDR0} ${tip} "${op}" ${VALID_MAC} + "${dst_ip}" ${V6_ADDR0} ${tip} "${op}" ${VALID_MAC} @@ -222,4 +223,2 @@ - ./ndisc_send ${veth0_ifindex} ${l2_dmac} ${VALID_MAC} ${dst_ip} \ - ^--------------^ 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. + python3 ./ndisc_send.py "veth0" ${l2_dmac} ${VALID_MAC} \ + ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting. @@ -228 +227 @@ - ./ndisc_send "${veth0_ifindex}" "${l2_dmac}" ${VALID_MAC} "${dst_ip}" \ + python3 ./ndisc_send.py "veth0" "${l2_dmac}" ${VALID_MAC} \ @@ -232,3 +231,4 @@ - ${V6_ADDR0} ${tip} ${op} ${tmac} - ^---^ SC2086 (info): Double quote to prevent globbing and word splitting. - ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting. + ${dst_ip} ${V6_ADDR0} ${tip} ${op} ${tmac} + ^-------^ 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. @@ -237 +237 @@ - ${V6_ADDR0} ${tip} "${op}" "${tmac}" + "${dst_ip}" ${V6_ADDR0} ${tip} "${op}" "${tmac}"