Permalink
Browse files

changed src/procket.erl and added ICMPv6 protocol number 58

  • Loading branch information...
1 parent b2c425f commit 6c042313d084de34bb232894c3ac036e3ac85146 @jj1bdx jj1bdx committed with Mar 24, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/procket.erl
View
3 src/procket.erl
@@ -350,11 +350,14 @@ protocol(ip) -> 0;
protocol(icmp) -> 1;
protocol(tcp) -> 6;
protocol(udp) -> 17;
+protocol(icmp6) -> 58;
protocol(raw) -> 255;
protocol(0) -> ip;
protocol(1) -> icmp;
protocol(6) -> tcp;
+protocol(17) -> udp;
+protocol(58) -> icmp6;
protocol(255) -> raw.
maybe_atom(_Type, Value) when is_integer(Value) -> Value;

0 comments on commit 6c04231

Please sign in to comment.