Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
Fix tproxy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmay committed Jun 24, 2011
1 parent 1c365b9 commit 014ca7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def ipt_ttl(*args):
ipt('-A', tproxy_chain, '-m', 'socket', '-j', divert_chain,
'-m', 'tcp', '-p', 'tcp')
if subnets and udp:
ipt(family, table, '-A', tproxy_chain, '-m', 'socket', '-j', divert_chain,
ipt('-A', tproxy_chain, '-m', 'socket', '-j', divert_chain,
'-m', 'udp', '-p', 'udp')

if dnsport:
Expand Down

0 comments on commit 014ca7e

Please sign in to comment.