Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove obsolete guard

  • Loading branch information...
commit 2d7f6fcd7d8419813827ce2df1a791b2ca2c2c04 1 parent d784a74
@RoadRunnr RoadRunnr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/netlink.erl
View
2  src/netlink.erl
@@ -664,7 +664,7 @@ sockaddr_nl({Family, Pid, Groups}) when is_atom(Family) ->
sockaddr_nl({gen_socket:family(Family), Pid, Groups});
sockaddr_nl({Family, Pid, Groups}) ->
<< Family:8, 0:8, Pid:32, Groups:32 >>;
-sockaddr_nl(<< Family:8, _Pad:8, Pid:32, Groups:32 >> = Bin) when is_binary(Bin) ->
+sockaddr_nl(<< Family:8, _Pad:8, Pid:32, Groups:32 >>) ->
{gen_socket:family(Family), Pid, Groups}.
setsockoption(Socket, Level, OptName, Val) when is_atom(Level) ->
Please sign in to comment.
Something went wrong with that request. Please try again.