PW_NAS_IP_ADDRESS ?

Iandc Davies Iandc.Davies at marconi.com
Wed Sep 14 14:30:51 CEST 2005


All,

Using an example ip address of 213.137.69.38, this converts to d5 89 45 26
(hex).

Is it OK to split the above hex into 8 bits so that it can fit into the
vp->strvalue format or is there another way ?

i.e. strvalue[0] = d5
      strvalue[1] = 89
      strvalue[2] = 45
      strvalue[3] = 26


Ian Davies {02476 564662}
          Internal   (x740 4662)
IMS-SIPAC
Software Development Engineer





More information about the Freeradius-Users mailing list