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

how add two valn on pcap #625

Closed
hdihd9162 opened this issue Nov 29, 2020 · 1 comment
Closed

how add two valn on pcap #625

hdihd9162 opened this issue Nov 29, 2020 · 1 comment
Assignees

Comments

@hdihd9162
Copy link

hello
i have a pcap file i need to add two vlan tag to this pcap but i cant find solution
i found this

tcprewrite --enet-vlan=add --enet-vlan-tag=40 --enet-vlan-cfi=1 --enet-vlan-pri=4 --infile=input.pcap --outfile=output.pcap

but not work for two vlan tag its work for one vlan tag
can you help me?

@fklassen fklassen self-assigned this Feb 24, 2021
@fklassen fklassen added the bug label Feb 24, 2021
@fklassen fklassen added enhancement and removed bug labels Mar 13, 2021
fklassen added a commit that referenced this issue Jun 22, 2021
While add it, have -v option print packets after done rewriting, not before.
fklassen added a commit that referenced this issue Jun 23, 2021
This fixes issue with VLAN delete
fklassen added a commit that referenced this issue Jun 23, 2021
fklassen added a commit that referenced this issue Jun 28, 2021
fklassen added a commit that referenced this issue Jun 30, 2021
fklassen added a commit that referenced this issue Jun 30, 2021
fklassen added a commit that referenced this issue Jul 1, 2021
Leak found by Travis CI.

While here make client/server direction for IPv6 the same
as IPv4.
@fklassen
Copy link
Member

fklassen commented Jul 2, 2021

Fixed in PR #675

@fklassen fklassen closed this as completed Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants