X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fflowgen.pl;h=d397515ae9982eeac4deac760c12d26d2d827167;hb=ab8cea8c8980cd27669967a78385c989133ee4ce;hp=4e2e5ad74f9256e67d63909fc3c58bc060bc5508;hpb=7b3855c50706c6f5805f6b320508ecf9b22cd3b7;p=sliver-openvswitch.git diff --git a/tests/flowgen.pl b/tests/flowgen.pl index 4e2e5ad74..d397515ae 100755 --- a/tests/flowgen.pl +++ b/tests/flowgen.pl @@ -32,19 +32,19 @@ print PACKETS pack('NnnNNNN', output(DL_HEADER => '802.2'); -for my $dl_header qw(802.2+SNAP Ethernet) { +for my $dl_header (qw(802.2+SNAP Ethernet)) { my %a = (DL_HEADER => $dl_header); - for my $dl_vlan qw(none zero nonzero) { + for my $dl_vlan (qw(none zero nonzero)) { my %b = (%a, DL_VLAN => $dl_vlan); # Non-IP case. output(%b, DL_TYPE => 'non-ip'); - for my $ip_options qw(no yes) { + for my $ip_options (qw(no yes)) { my %c = (%b, DL_TYPE => 'ip', IP_OPTIONS => $ip_options); - for my $ip_fragment qw(no first middle last) { + for my $ip_fragment (qw(no first middle last)) { my %d = (%c, IP_FRAGMENT => $ip_fragment); - for my $tp_proto qw(TCP TCP+options UDP ICMP other) { + for my $tp_proto (qw(TCP TCP+options UDP ICMP other)) { output(%d, TP_PROTO => $tp_proto); } }