]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: m_xt: Introduce get_xtables_target_opts()
authorPhil Sutter <phil@nwl.cc>
Fri, 10 Jun 2016 11:42:08 +0000 (13:42 +0200)
committerStephen Hemminger <shemming@brocade.com>
Tue, 14 Jun 2016 21:35:56 +0000 (14:35 -0700)
commit2ef4008585ec9184a0abf7534bf7f575ce6579d1
tree5953be75826e19579d81a9d913f38c6886896d0f
parentf6ddd9c5da4e552322baf237075aae6db17237d4
tc: m_xt: Introduce get_xtables_target_opts()

This pulls common code from parse_ipt() and print_ipt() functions
together.

While here, also fix for incorrect use of the global 'optarg' variable
in print_ipt().

Signed-off-by: Phil Sutter <phil@nwl.cc>
tc/m_xt.c