Skip to content

Add Android support to iptables platform guard#16

Open
sqlerrorthing wants to merge 1 commit intoyaa110:mainfrom
sqlerrorthing:feat/add-android
Open

Add Android support to iptables platform guard#16
sqlerrorthing wants to merge 1 commit intoyaa110:mainfrom
sqlerrorthing:feat/add-android

Conversation

@sqlerrorthing
Copy link
Copy Markdown

@sqlerrorthing sqlerrorthing commented Oct 31, 2025

Previously, the code was only enabled on Linux systems. Since Android uses the same Linux kernel and Netfilter framework, iptables is also available there. This change ensures the code compiles and runs correctly on Android targets.

Closes #17

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.

Cannot compile to Android: iptables module not enabled for target_os = "android"

1 participant