Skip to content
Browse files

Decode all types for pkt dumping.

  • Loading branch information...
1 parent 16f97bc commit 426af5a987a93710cb49ea0176259f55e63b75f4 @archaelus committed Mar 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/enet_if_dump.erl
View
2 src/enet_if_dump.erl
@@ -59,7 +59,7 @@ handle_cast(Msg, State) ->
{noreply, State}.
handle_info({enet, _IF, {tx, Frame}}, State) ->
- P = enet_codec:decode(eth, Frame, [all]),
+ P = enet_codec:decode(eth, Frame, [{decode_types, [all]}]),
print([{dir, send}, {raw, Frame}, {packet, P}], State),
{noreply, State};
handle_info({enet, _IF, {RX, Frame}}, State)

0 comments on commit 426af5a

Please sign in to comment.
Something went wrong with that request. Please try again.