summaryrefslogtreecommitdiffstats
path: root/xshared.c
Commit message (Collapse)AuthorAgeFilesLines
* iptables: fix the dead loop when meeting unknown optionsChangli Gao2011-05-091-1/+1
| | | | Signed-off-by: Changli Gao <xiaosuo@gmail.com>
* ip(6)tables-multi: unify subcommand handlingStefan Tomanek2011-03-071-0/+36
| | | | | | | | | | I found the subcommand handling and naming done by iptables-multi and ip6tables-multi very confusing and complicated; this patch reorganizes the subcommands in a single table, allowing both variants of them to be used (iptables/main) and also prints a list of the allowed commands if an unknown command is entered by the user. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* iptables: fix an inversionJan Engelhardt2011-03-011-1/+1
| | | | | | | | | | | Revisiting the original condition (viewable in git log -1 -p v1.4.10-57-gacef604), one can notice an unforuntate inversion. This commit corrects this. Testcase: -A INPUT -p tcp --dport 1 Reported-by: Florian Westphal Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* src: deduplicate and simplify implicit protocol extension loadingJan Engelhardt2011-02-071-1/+34
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* src: deduplicate find_proto functionJan Engelhardt2011-02-071-0/+37
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* iptables: allow for help-less extensionsJan Engelhardt2009-06-261-0/+31
This is for extensions that do not take any options, and which subsequently do not offer any help text either. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>