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

inet is not populated when returning the ip address with an arrow notation (-->) #71

Closed
aaronwarshay opened this issue Mar 17, 2023 · 1 comment · Fixed by #72
Closed

Comments

@aaronwarshay
Copy link

Hi,

I have a case where the inet value was being returned ok in version 0.22, but fails to populate when using version 0.23:

utun3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	inet 10.11.11.72 --> 10.11.11.72 netmask 0xffffff00 

It occurs in macOS using an OpenVPN connection. Will you please investigate a fix for this case?

Regards,

-A

@benjaoming
Copy link
Collaborator

Hi @aaronwarshay

The error probably happened here: https://github.com/ftao/python-ifcfg/pull/67/files#diff-231f8ffbdb82aebe14681a88db72af3a09c3788200e3ab097e3de89d7a4561dbR245

If you can figure out a new regex that works, please go ahead and submit a PR 👍

Ultimately, this repo needs some CI :)

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

Successfully merging a pull request may close this issue.

2 participants