netkit-jh / netkit-jh-build

Build scripts for the kernel, filesystem and assisting scripts/programs for Netkit-JH.
https://netkit-jh.github.io/
GNU General Public License v3.0
22 stars 12 forks source link

Hide `iptables --check` output #126

Closed AdamBromiley closed 2 years ago

AdamBromiley commented 2 years ago

On some distributions, the iptables utility with the --check option shows the matched rule on stdout, which negatively affects the manage_tuntap output formatting.

This quick patch remedies that by redirecting the stdout to /dev/null.