diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-21 03:29:44 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-02-21 03:29:44 +0100 |
commit | 1829ed482efbc8b390cc760d012b3a4450494e1a (patch) | |
tree | cfdd4aa54cee9dc7e8eda8f755f3cf2ab8e1e880 /extensions/libxt_CONNSECMARK.c | |
parent | bddcb92d1f0f76d21c4469b1667c8199c9fab126 (diff) |
libxtables: prefix exit_error to xtables_error
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_CONNSECMARK.c')
-rw-r--r-- | extensions/libxt_CONNSECMARK.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/libxt_CONNSECMARK.c b/extensions/libxt_CONNSECMARK.c index 05dbf70d..1515f6f0 100644 --- a/extensions/libxt_CONNSECMARK.c +++ b/extensions/libxt_CONNSECMARK.c @@ -38,7 +38,7 @@ CONNSECMARK_parse(int c, char **argv, int invert, unsigned int *flags, switch (c) { case '1': if (*flags & CONNSECMARK_SAVE) - exit_error(PARAMETER_PROBLEM, PFX + xtables_error(PARAMETER_PROBLEM, PFX "Can't specify --save twice"); info->mode = CONNSECMARK_SAVE; *flags |= CONNSECMARK_SAVE; @@ -46,7 +46,7 @@ CONNSECMARK_parse(int c, char **argv, int invert, unsigned int *flags, case '2': if (*flags & CONNSECMARK_RESTORE) - exit_error(PARAMETER_PROBLEM, PFX + xtables_error(PARAMETER_PROBLEM, PFX "Can't specify --restore twice"); info->mode = CONNSECMARK_RESTORE; *flags |= CONNSECMARK_RESTORE; @@ -62,10 +62,10 @@ CONNSECMARK_parse(int c, char **argv, int invert, unsigned int *flags, static void CONNSECMARK_check(unsigned int flags) { if (!flags) - exit_error(PARAMETER_PROBLEM, PFX "parameter required"); + xtables_error(PARAMETER_PROBLEM, PFX "parameter required"); if (flags == (CONNSECMARK_SAVE|CONNSECMARK_RESTORE)) - exit_error(PARAMETER_PROBLEM, PFX "only one flag of --save " + xtables_error(PARAMETER_PROBLEM, PFX "only one flag of --save " "or --restore is allowed"); } @@ -81,7 +81,7 @@ static void print_connsecmark(struct xt_connsecmark_target_info *info) break; default: - exit_error(OTHER_PROBLEM, PFX "invalid mode %hhu\n", info->mode); + xtables_error(OTHER_PROBLEM, PFX "invalid mode %hhu\n", info->mode); } } |