anchor.diff:  
   client({T, LA, RA, RP}) ->
       [{transport_module, tmod(T)},
  -     {transport_config, [{ip, addr(LA)},
  -                         {raddr, addr(RA)},
  +     {transport_config, [{raddr, addr(RA)},
                            {rport, RP},
  -                         {reuseaddr, true}]}];
  +                         {reuseaddr, true}
  +                         | ip(LA)]}];
   
  -client({T, LA, RP}) ->
  -    client({T, LA, LA, RP});
  +client({T, RA, RP}) ->
  +    client({T, default, RA, RP});
   
   client(T) ->
  -    client({T, ?DEFAULT_ADDR, ?DEFAULT_ADDR, ?DEFAULT_PORT}).
  +    client({T, loopback, loopback, ?DEFAULT_PORT}).
   
   tmod(tcp)  -> diameter_tcp;
   tmod(sctp) -> diameter_sctp.
   
  -addr(default) ->
  -    ?DEFAULT_ADDR;
  +ip(default) ->
  +    [];
  +ip(loopback) ->
  +    [{ip, {127,0,0,1}}];
  +ip(Addr) ->
  +    [{ip, Addr}].
  +
  +addr(loopback) ->
  +    {127,0,0,1};
   addr(A) ->
       A.
  
positive.code:                          {port, Port}]}];
  
  server(T) ->
      server({T, ?DEFAULT_ADDR, ?DEFAULT_PORT}).
  
  %% client/1
  %%
  
negative.code:     | {protocol(), ip_address(), non_neg_integer()}
      | {protocol(), ip_address(), ip_address(), non_neg_integer()}.
  
  -define(DEFAULT_PORT, 3868).
  
  %% ---------------------------------------------------------------------------
  