-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Wrap firewall errors in a common struct #899
base: master
Are you sure you want to change the base?
Conversation
there're a couple of errors here:
err4 and err6 are not defined. Something in the line of Also "not enough return values" error here (func expects 2 values: nil, nil): opensnitch/daemon/firewall/nftables/system.go Line 138 in bd8e6ff
and "common" package is not used error:
|
Seems like I've botched something when bisecting this with my other feature branch. It's my fault and I'll fix this. My apologies. |
Any progress here ? |
I'll take a look |
1bbd057
to
0c32f1f
Compare
1e3620c
to
5109254
Compare
Fixed. Ran the tests locally, they fail in the UI package, not sure why as I haven't touched it and they only print the cgo warninigs about deprecated dependencies |
This allows a little bit of more flexibility since now there is only one return value instead of two. The underlying logic stays the same.
Also unrelated, but I've noticed that you're not tracking go.sum. This isn't a good practice.