Skip to content

Commit

Permalink
Add exitcode to iptables failure errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wichert committed Sep 30, 2008
1 parent d91b8ac commit 4384980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# $Id$

2008-09-30 Wichert Akkerman <[email protected]>
* Add exitcode to iptables failure errors.
* Include the gw_id in auth server updates so the client does not have
to keep track of it in a session.
* Include the gateway id in the firewall table names. Fixes ticket #466
Expand Down
2 changes: 1 addition & 1 deletion src/fw_iptables.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ iptables_do_command(const char *format, ...)
rc = execute(cmd, fw_quiet);

if (rc!=0)
debug(LOG_ERR, "iptables comand failed: %s", cmd);
debug(LOG_ERR, "iptables comand failed(%d): %s", rc, cmd);

free(cmd);

Expand Down

0 comments on commit 4384980

Please sign in to comment.