Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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}