mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Added some extra debugging for stray HLR record creation.
This commit is contained in:
parent
51f181b16f
commit
5566dddad1
@ -179,6 +179,8 @@ int createHlr(char *did,char *sid) {
|
||||
int i;
|
||||
int record_offset=0;
|
||||
|
||||
if (debug) fprintf(stderr,"Asked to create a new HLR record\n");
|
||||
|
||||
/* Generate random SID */
|
||||
for(i=1;i<64;i++) sid[i]=hexdigit[random()&0xf]; sid[64]=0;
|
||||
/* But make sure first digit is non-zero as required by the overlay mesh */
|
||||
|
Loading…
Reference in New Issue
Block a user