projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenserver: Don't create XAPI cache at install.
[openvswitch]
/
tests
/
flowgen.pl
diff --git
a/tests/flowgen.pl
b/tests/flowgen.pl
index a14faa7093b89ac93b6dc62408fbb5d0cd2fd1ab..4e2e5ad74f9256e67d63909fc3c58bc060bc5508 100755
(executable)
--- a/
tests/flowgen.pl
+++ b/
tests/flowgen.pl
@@
-84,15
+84,15
@@
sub output {
$flow{NW_PROTO} = 42;
} elsif ($attrs{TP_PROTO} eq 'TCP' ||
$attrs{TP_PROTO} eq 'TCP+options') {
$flow{NW_PROTO} = 42;
} elsif ($attrs{TP_PROTO} eq 'TCP' ||
$attrs{TP_PROTO} eq 'TCP+options') {
- $flow{NW_PROTO} = 6; # IP
_TYPE
_TCP
+ $flow{NW_PROTO} = 6; # IP
PROTO
_TCP
$flow{TP_SRC} = 6667;
$flow{TP_DST} = 9998;
} elsif ($attrs{TP_PROTO} eq 'UDP') {
$flow{TP_SRC} = 6667;
$flow{TP_DST} = 9998;
} elsif ($attrs{TP_PROTO} eq 'UDP') {
- $flow{NW_PROTO} = 17; # IP
_TYPE
_UDP
+ $flow{NW_PROTO} = 17; # IP
PROTO
_UDP
$flow{TP_SRC} = 1112;
$flow{TP_DST} = 2223;
} elsif ($attrs{TP_PROTO} eq 'ICMP') {
$flow{TP_SRC} = 1112;
$flow{TP_DST} = 2223;
} elsif ($attrs{TP_PROTO} eq 'ICMP') {
- $flow{NW_PROTO} = 1; # IP
_TYPE
_ICMP
+ $flow{NW_PROTO} = 1; # IP
PROTO
_ICMP
$flow{TP_SRC} = 8; # echo request
$flow{TP_DST} = 0; # code
} else {
$flow{TP_SRC} = 8; # echo request
$flow{TP_DST} = 0; # code
} else {