anchor.diff:  
   %% Test opening a multihoming ipv4 socket.
   open_multihoming_ipv4_socket(Config) when is_list(Config) ->
  +    ?P("get addrs by family (inet)"),
       case get_addrs_by_family(inet, 2) of
   	{ok, [Addr1, Addr2]} ->
  +            ?P("got addrs: "
  +               "~n      Addr1: ~p"
  +               "~n      Addr2: ~p", [Addr1, Addr2]),
   	    do_open_and_connect([Addr1, Addr2], Addr1);
   	{error, Reason} ->
  +            ?P("failed get addrs: "
  +               "~n      ~p", [Reason]),
   	    {skip, Reason}
       end.
   
  
positive.code:             %% Second
              ?P("try create server socket (2)"),
              Localhost = log_ok(inet:getaddr("localhost", inet6)),
              S2 = log_ok(gen_sctp:open(0, [{ip,Localhost}])),
              ?P("*** ~s: ~p ***", ["localhost", Localhost]),
              implicit_inet6(S2, Localhost),
              ok = gen_sctp:close(S2),
  
negative.code: get_addrs_by_family_aux(Family, NumAddrs) when Family =:= inet;
  					       Family =:= inet6 ->
      case inet:getaddr(localhost, Family) of
  	{error, eafnosupport = Reason} ->
              ?P("failed get addrs for localhost: ~p", [Reason]),
  	    {error, ?F("No support for ~p (~p)", [Family, Reason])};
          {error, nxdomain = Reason} ->
              ?P("failed get addrs for localhost: ~p", [Reason]),
  	    {error, ?F("No support for ~p", [Family, Reason])};
  	{ok, _} ->
              ?P("got addr for localhost (ignored)"),
  	    IfAddrs = ok(inet:getifaddrs()),
              ?P("IfAddrs: ~p", [IfAddrs]),
  	    case filter_addrs_by_family(IfAddrs, Family) of
  		Addrs when length(Addrs) >= NumAddrs ->
  		    {ok, lists:sublist(Addrs, NumAddrs)};
  