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

Panic: when target is empty #88

Open
Fan-chou opened this issue Jul 21, 2021 · 0 comments
Open

Panic: when target is empty #88

Fan-chou opened this issue Jul 21, 2021 · 0 comments

Comments

@Fan-chou
Copy link

❯ iptables -A OUTPUT -d 1.0.0.1
❯ iptables -t filter -L OUTPUT -n -v -x --wait
Chain OUTPUT (policy ACCEPT * packets, * bytes)
    pkts      bytes target     prot opt in     out     source               destination
       0        0            tcp  --  *      *       0.0.0.0/0            1.0.0.1

Like this traget is empty, so len(fiels[]) == 8 in now.

fields[8] = appendSubnet(fields[8])

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