Browse files

Add inet6 family

  • Loading branch information...
1 parent ee08d43 commit 8c211b097e7eaffdea3743d2fb7b18bd22a9cf56 @msantos committed May 17, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/procket.erl
View
2 src/procket.erl
@@ -274,12 +274,14 @@ progname() ->
%% Protocol family (aka domain)
family(unspec) -> 0;
family(inet) -> 2;
+family(inet6) -> 10;
family(packet) -> 17;
family(Proto) when Proto == local; Proto == unix; Proto == file -> 1;
family(0) -> unspec;
family(1) -> unix;
family(2) -> inet;
+family(10) -> inet6;
family(17) -> packet.

0 comments on commit 8c211b0

Please sign in to comment.