1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

take in public-ip as parameter in addition to public-address

This commit is contained in:
Jeff Becker 2019-02-07 09:30:43 -05:00
parent 32ecf64c57
commit 2f656de767
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -1710,7 +1710,7 @@ namespace llarp
{
self->ident_keyfile = val;
}
if(StrEq(key, "public-address"))
if(StrEq(key, "public-address") || StrEq(key, "public-ip"))
{
llarp::LogInfo("public ip ", val, " size ", strlen(val));
if(strlen(val) < 17)