Skip to content

Commit c8902c3

Browse files
committed
[fix] add the control for channel type
1 parent 9cf87ce commit c8902c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/p4-custom-test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ main (int argc, char *argv[])
7979

8080
// Simulation parameters
8181
uint16_t pktSize = 1000; //in Bytes. 1458 to prevent fragments, default 512
82-
82+
P4GlobalVar::g_channelType = P4ChannelType::P2P;
8383
// h1 -> h3 with 2.0Mbps, h2 -> h4 with 1.0Mbps
8484
std::string appDataRate[] = {"2.0Mbps", "1.0Mbps"};
8585

0 commit comments

Comments
 (0)