14 Sep
2005
14 Sep
'05
9:36 a.m.
Iandc Davies wrote:
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 ?
The IP addresses are usually stored in vp->lvalue. I note the easiest way to assign values is to use the function pairparsevalue() in src/lib/valuepair.c -- Nicolas Baradakis