tools: Refactor where table should be loaded
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Mon, 13 Aug 2012 10:28:50 +0000 (13:28 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 14 Aug 2012 12:08:37 +0000 (15:08 +0300)
commit2b22d03a45da5ff1b2a9ef24456b86946da1b582
treee980c9b09e3aeee75687e0872ca162334a6d605b
parentfe2550f3e14bd24d72ed00296b6c693d9f453488
tools: Refactor where table should be loaded

Fixes segfault issues when using a non-builtin target without providing table name.
like: -A OUTPUT -j IDLETIMER (...)
will crash when: -t filter -A OUTPUT -j IDLETIMER (...) will success
tools/iptables-test.c