anchor.diff:  				{ok, Port} =:= (catch inet:port(P))]
   		    end),
   	%% And check that it's actually listening on localhost.
  -	[{ok,{{127,0,0,1},Port}}] = Sockets
  +        IP = localhost_ip(inet_ver()),
  +        [{ok,{IP,Port}}] = Sockets
       catch 
   	_:Reason ->
   	    stop_ssl_node(NH1),
  
positive.code: 
  fresh_crl(_DistributionPoint, CRL) ->
      CRL.
  
negative.code:     [{doc, "Test inet_dist_use_interface"}].
  use_interface(Config) when is_list(Config) ->
      %% Force the node to listen only on the loopback interface.
      IpString = localhost_ipstr(inet_ver()),
      Options = "-kernel inet_dist_use_interface " ++ IpString,
  
      %% Start a node, and get the port number it's listening on.
  