Skip to content

Conversation

@cdirubbio
Copy link

Small change making the extractIptablesVersion function Public. The purpose of this change is to use what-would-be the newly public function, to log the iptables mode (legacy or nf_tables) in-use before the insertion of rules.

Current workaround would be to utilize exec.Command("iptables", "--version"), but it's not an ideal solution.

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 this pull request may close these issues.

1 participant