Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update for epcap change

  • Loading branch information...
commit 531f0d5492c7e0ce2387d207f0c18fd0e8f3b33e 1 parent 58de876
@msantos authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/perv.erl
View
2  src/perv.erl
@@ -86,7 +86,7 @@ handle_cast(_Msg, State) ->
{noreply, State}.
% Sniffed packet
-handle_info([{pkthdr, {_, {caplen, Length}, {len, Length}}}, {packet, Packet}],
+handle_info([{pkthdr, [_, {caplen, Length}, {len, Length}, _]}, {packet, Packet}],
#state{c = C} = State) ->
P = pkt:decapsulate(Packet),
C1 = match(P, C),
Please sign in to comment.
Something went wrong with that request. Please try again.