diff options
Diffstat (limited to 'iptables.c')
-rw-r--r-- | iptables.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1623,6 +1623,11 @@ int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle) if (optind < argc && argv[optind][0] != '-' && argv[optind][0] != '!') newname = argv[optind++]; + else + exit_error(PARAMETER_PROBLEM, + "-%c requires old-chain-name and " + "new-chain-name", + cmd2char(CMD_RENAME_CHAIN)); break; case 'P': |