Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Make aio::Gateway struct fields public #46

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

nbaksalyar
Copy link
Contributor

For consistency with the synchronous version (rust_igd::Gateway), rust_igd::aio::Gateway struct fields should be public too. I don't know if there was any specific reason to make them private though, but a user needs to have access to the gateway address (e.g. to find their IP on LAN).

For consistency with the synchronous version (rust_igd::Gateway),
rust_igd::aio::Gateway struct fields should be public too.
@sbstp
Copy link
Owner

sbstp commented Apr 7, 2020

Hey! I don't think there was a particular reason, it's just an oversight. I'll cut you another release!

@nbaksalyar
Copy link
Contributor Author

Thanks for the fast response!

@sbstp sbstp merged commit 91ac3bd into sbstp:master Apr 7, 2020
@nbaksalyar nbaksalyar deleted the pub-gateway-struct branch April 7, 2020 21:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants