Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-i doesn't change ip address in json output #8

Open
ketominer opened this issue Dec 25, 2018 · 2 comments
Open

-i doesn't change ip address in json output #8

ketominer opened this issue Dec 25, 2018 · 2 comments

Comments

@ketominer
Copy link

I tried using -i to change the ip field in the json output (as in -i, --localip Include local ip in QRCode) but it uses externalip from lnd instead anyway. --host work as expected.

@ottosuess
Copy link
Member

for me zapconnect -j and zapconnect -j -i produce different results. the -i version using the local ip from my lan. (...hrm+ncLHf5jA==","ip":"192.168.2.105:10009"}) 🤔

any ideas about how to reproduce this issue?

@ketominer
Copy link
Author

I'm getting "ip":"195.95.... with -j -i, which is the public IP of the node and not the RFC1918 address. Maybe I misunderstand what "localip" means for you?

@ottosuess ottosuess transferred this issue from LN-Zap/zapconnect Dec 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants