mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 01:42:18 +00:00
Added missing @ to end of SIP address when seeding HLR
This commit is contained in:
parent
28c8fcfbc9
commit
51f181b16f
@ -51,7 +51,7 @@ int seedHlr()
|
||||
/* Then add 10 more digits, which is what we do in the mobile phone software */
|
||||
for(i=1;i<11;i++) did[i]='0'+random()%10; did[11]=0;
|
||||
if (createHlr(did,sid)) return WHY("Failed to seed HLR with home entry");
|
||||
if (hlrSetVariable(hlr,ofs,VAR_LOCATIONS,0,(unsigned char *)"4000",4)) return WHY("Could not set location while seeding HLR");
|
||||
if (hlrSetVariable(hlr,ofs,VAR_LOCATIONS,0,(unsigned char *)"4000@",5)) return WHY("Could not set location while seeding HLR");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user