Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 6c042313d084de34bb232894c3ac036e3ac85146 1 parent b2c425f
Kenji Rikitake authored March 24, 2012 msantos committed April 08, 2012

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  src/procket.erl
3  src/procket.erl
@@ -350,11 +350,14 @@ protocol(ip) -> 0;
350 350
 protocol(icmp) -> 1;
351 351
 protocol(tcp) -> 6;
352 352
 protocol(udp) -> 17;
  353
+protocol(icmp6) -> 58;
353 354
 protocol(raw) -> 255;
354 355
 
355 356
 protocol(0) -> ip;
356 357
 protocol(1) -> icmp;
357 358
 protocol(6) -> tcp;
  359
+protocol(17) -> udp;
  360
+protocol(58) -> icmp6;
358 361
 protocol(255) -> raw.
359 362
 
360 363
 maybe_atom(_Type, Value) when is_integer(Value) -> Value;

0 notes on commit 6c04231

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