[sr-dev] t_relay() seems to generate error message on its own

Juha Heinanen jh at tutpro.com
Mon Aug 31 19:29:23 CEST 2009


according to t_relay() documentation:

   Returns a negative value on failure--you may still want to send a
   negative reply upstream statelessly not to leave upstream UAC in
   lurch.

when t_relay cannot send request to the destination (no arp response),
it seems to be generating on its own an error reply:

477 Unfortunately error sending to next hop occured

this then results in two error replies (another one from script).

is it true that the above error message is generated by t_relay()?  if
yes, is it somehow possible to get rid of it?  in k tm module, there
used to be a flag parameter to t_relay to control its error behavior.

-- juha



More information about the sr-dev mailing list