anchor.diff:                          dictionary = Dict0,
                           sequence = Mask}
                 = S) ->
  -    send(TPid, {send, encode(getr(dwr), Mask, Dict0)}),
  +    send(TPid, {send, encode(dwr, Dict0, Mask)}),
       ?LOG(send, 'DWR'),
       S#watchdog{pending = true}.
   
  
positive.code: 
  %% encode/3
  
  encode(Msg, Mask, Dict) ->
      Seq = diameter_session:sequence(Mask),
      Hdr = #diameter_header{version = ?DIAMETER_VERSION,
                             end_to_end_id = Seq,
                             hop_by_hop_id = Seq},
      Pkt = #diameter_packet{header = Hdr,
                             msg = Msg},
      #diameter_packet{bin = Bin} = diameter_codec:encode(Dict, Pkt),
      Bin.
  
  %% okay/3
  
  
negative.code: %% rcv/3
  
  rcv('DWR', Pkt, #watchdog{transport = TPid,
                            dictionary = Dict0}) ->
      send(TPid, {send, encode(dwa, Dict0, Pkt)}),
      ?LOG(send, 'DWA');
  
  rcv(N, _, _)
  