Skip to content

Commit

Permalink
xdp-forward: fix typos in test-xdp-forward.sh
Browse files Browse the repository at this point in the history
Test IPv6 in test_fwd_full and test_fwd_direct and not IPv4 twice.

Signed-off-by: Lorenzo Bianconi <[email protected]>
  • Loading branch information
LorenzoBianconi authored and tohojo committed Sep 16, 2024
1 parent bad5f36 commit fb111a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xdp-forward/tests/test-xdp-forward.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ test_fwd_full()
for ip in "${ALL_INSIDE_IP4[@]}"; do
check_run ns_exec ping -c 1 -W 2 $ip
done
for ip in "${ALL_INSIDE_IP4[@]}"; do
check_run ns_exec ping -c 1 -W 2 $ip
for ip in "${ALL_INSIDE_IP6[@]}"; do
check_run ns_exec $PING6 -c 1 -W 2 $ip
done
check_run $XDP_FORWARD unload ${NS_NAMES[@]}
}
Expand All @@ -46,8 +46,8 @@ test_fwd_direct()
for ip in "${ALL_INSIDE_IP4[@]}"; do
check_run ns_exec ping -c 1 -W 2 $ip
done
for ip in "${ALL_INSIDE_IP4[@]}"; do
check_run ns_exec ping -c 1 -W 2 $ip
for ip in "${ALL_INSIDE_IP6[@]}"; do
check_run ns_exec $PING6 -c 1 -W 2 $ip
done
check_run $XDP_FORWARD unload ${NS_NAMES[@]}
}
Expand Down

0 comments on commit fb111a7

Please sign in to comment.