anchor.diff:  %% PCAP packet parser/generator
   %%====================================================================
   
  -decode_packet({#pcap_hdr{endianess=Endianess}, Data}) ->
  -    decode_packet(Endianess, Data).
  -
  -decode_packet(#pcap_hdr{endianess=Endianess}, Data) ->
  -    decode_packet(Endianess, Data);
  +decode_packet({#pcap_hdr{endianness=Endianness}, Data}) ->
  +    decode_packet(Endianness, Data).
  +
   decode_packet(little,
                 <<TS_Secs:32/little,
                   TS_USecs:32/little,
  
positive.code:             foreach_file_packets(Header, File, Fun)
      end.
  
  read_one_packet(#pcap_hdr{endianess=little}, File) ->
      case file:read(File, ?PCAP_PKTHDR_SIZE) of
          eof -> eof;
          {ok, <<TS_Secs:32/little,
  
negative.code:                         sigfigures=SigFigures,
                          snaplen=SnapLen,
                          datalinktype=DataLinkType,
                          endianness=big}) ->
      <<16#a1,16#b2,16#c3,16#d4,
       VersionMajor:16/big,
       VersionMinor:16/big,
  