rlm_detail header not expanding \t

Matthew Newton mcn4 at leicester.ac.uk
Wed Sep 9 18:07:41 CEST 2015


In v2 I do:

  detail {
    ...
    header = "%t\t%{Client-IP-Address}"
    ...
  }

which gives e.g.

  Wed Sep  9 16:55:16 2015        127.0.0.1
          ...

in the detail file.


Building a config for v3, the same gives:

  Wed Sep  9 16:55:16 2015127.0.0.1

i.e. the \t is silently discarded and expands to nothing.


I can get around it by putting a physical tab char in the config,
but is this intended?

Have stared at the radius_xlat code for too many minutes and
figured it'd be quicker to ask... :)

Cheers,

Matthew



-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list