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

libtins: Don't throw exception on invalid interface #25796

Open
someburner opened this issue Jan 20, 2025 · 0 comments
Open

libtins: Don't throw exception on invalid interface #25796

someburner opened this issue Jan 20, 2025 · 0 comments

Comments

@someburner
Copy link

Issue template (remove lines from top till here)

Environment: openwrt 23.05.5 maybe others, likely all archs

Description:

This library throws an exception when an "invalid interface" is seen, which it defines as having no ip address and no mac address. But I believe this is the case for certain interfaces, like vpn ifs.

The simple workaround is to just comment out the exception, and everything works fine.

I made a patch here:
https://github.com/someburner/openwrt-feeds/blob/master/libtins45/patches/011-no-throw-empty-iface.patch

But figured I'd make an issue first.

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

1 participant