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

Update parsing.rs #39

Merged
merged 1 commit into from
Jul 17, 2019
Merged

Update parsing.rs #39

merged 1 commit into from
Jul 17, 2019

Conversation

CDuPlooy
Copy link
Contributor

Making the below changes resulted in the examples running for me, I tested the code before the changes and it failed on about 3 different routers. Hopefully this will allow it to work on most routers in South Africa ( or any other country which uses PPP ).

See #38 for more information

In the code, specifically parsing.rs on line 53 a check is made for urn:schemas-upnp-org:service:WANIPConnection:1, the closest thing I have in my xml is urn:schemas-upnp-org:service:WANPPPConnection1 and changing it to that gets the example to run. I don't really have much experience with networking but all routers in South Africa use PPP as far as I know, perhaps I could open a pull request to check for either of the above and use the appropriate one?
@sbstp
Copy link
Owner

sbstp commented Jul 17, 2019

Looks good, thanks!

@sbstp sbstp merged commit e6d03cf into sbstp:master Jul 17, 2019
@sbstp
Copy link
Owner

sbstp commented Jul 17, 2019

I'll release this ASAP as a non-breaking version bump, so 0.9.1.

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