From 2f94413b2fa4132f50dfca055e9fb15a5e633b85 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Fri, 21 Aug 2015 21:35:10 -0400 Subject: [PATCH] [server] bug fix for ipfw firewall rule removal --- server/fw_util_ipfw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/fw_util_ipfw.c b/server/fw_util_ipfw.c index 9f49aea9..8a753cb0 100644 --- a/server/fw_util_ipfw.c +++ b/server/fw_util_ipfw.c @@ -640,6 +640,7 @@ check_firewall_rules(const fko_srv_options_t * const opts, res = run_extcmd(cmd_buf, cmd_out, STANDARD_CMD_OUT_BUFSIZE, WANT_STDERR, NO_TIMEOUT, &pid_status, opts); + chop_newline(cmd_out); log_msg(LOG_DEBUG, "check_firewall_rules() CMD: '%s' (res: %d)", cmd_buf, res);