Just for completeness. As far, as I know the compiler will ignore unused variables.

But I can remove, if you would like to have it removed. 

 

Gesendet: Montag, 07. April 2014 um 14:58 UhrVon: "Michael Santos" <notifications@github.com>An: msantos/pkt <pkt@noreply.github.com>Cc: josemic <michael.josenhans@web.de>Betreff: Re: [pkt] IP6 TCP checksum calculation & test cases (#17)


In src/pkt.erl:

> @@ -406,6 +406,41 @@ checksum([#ipv4{
>  checksum(#ipv4{} = H) ->
>      checksum(ipv4(H));
>  
> +checksum([#ipv6{
> +             class = _Class, 


Any reason for matching and throwing away class, flow and hop?

—
Reply to this email directly or view it on GitHub.