Join Discord
Powered by
2 ways of getting local ip?
# development
d
dry-knife-46018
06/07/2022, 6:05 AM
2 ways of getting local ip?
dry-knife-46018
06/07/2022, 6:05 AM
what's the difference between getPrivateAddr (
https://github.com/gravitl/netmaker/blob/master/netclient/functions/common.go#L46
) and GetLocalIP (
https://github.com/gravitl/netmaker/blob/master/netclient/ncutils/netclientutils.go#L204
)?
dry-knife-46018
06/07/2022, 6:05 AM
ah, I see, the former works for windows as well
Previous
Next