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

Add decoding of 802.1q header #42

Merged
merged 1 commit into from
Mar 14, 2017
Merged

Add decoding of 802.1q header #42

merged 1 commit into from
Mar 14, 2017

Conversation

systra
Copy link
Contributor

@systra systra commented Mar 14, 2017

When using pkt:decode/1,2 802.1q header is not decoded - an exception is raised:

(<0.47.0>) call pkt:decode_next({'802.1q',<<3,86,8,0,69,0,0,200,187,111,0,0,63,132,224,120,192,168,19,5,10, 219,0,66,19,191,19,191,136,106,129,97,164,12,232,180,0,3,0,168, 163,252,230,215,0,1,3,16,0,0,0,3,1,0,1,1,0,0,0,152,2,0,0,8,0,0,0, 5,0,6,0,8,0,0,0,0,2,16,0,117,0,0,6,2,0,0,10,148,3,2,0,9,9,129,3, 14,24,11,18,6,0,17,4,132,6,1,0,145,0,10,18,8,0,18,4,50,41,0,0,0, 72,98,70,72,4,12,64,0,119,107,30,40,28,6,7,0,17,134,5,1,1,1,160, 17,96,15,128,2,7,128,161,9,6,7,4,0,0,1,0,5,3,108,30,161,28,2,1,0, 2,1,22,48,20,128,7,145,132,150,1,48,48,243,131,1,0,134,6,145,50, 41,0,0,0,0,0,0,0,19,0,8,0,0,4,157>>},[{ether,<<24,102,218,133,246,153>>,<<0,4,109,231,144,0>>,33024,0}]) ({pkt, decode, 2}) (<0.47.0>) exception_from {pkt,decode_next,2} {error,function_clause}

@msantos msantos merged commit df34e37 into msantos:master Mar 14, 2017
@msantos
Copy link
Owner

msantos commented Mar 14, 2017

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants