Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong setting of packet number to be sent #29

Closed
OlivierTOMATO opened this issue Jul 24, 2023 · 0 comments · Fixed by #30
Closed

Wrong setting of packet number to be sent #29

OlivierTOMATO opened this issue Jul 24, 2023 · 0 comments · Fixed by #30
Labels
minor fix Minor issue

Comments

@OlivierTOMATO
Copy link
Contributor

Hi, I am OlivierTOMATO. Just to mention a small error.
In the send.py file, https://github.com/KatharaFramework/Kathara-Labs/blob/main/main-labs/p4/04-mpls-basics/h1/send.py
you use sendp(pkt, iface=iface, verbose=True, loop=int(sys.argv[2]), inter=0.5) to send the packets.

However, to set the number of packets sent, we should set the parameter "count" to a certain number, rather than "loop". Therefore, I guess it should be count=int(sys.argv[2])

@tcaiazzi tcaiazzi linked a pull request Jul 27, 2023 that will close this issue
@tcaiazzi tcaiazzi added the minor fix Minor issue label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor fix Minor issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants