From bb5aa928d90963bc43ca320d0680b5bcaaa95718 Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Sat, 18 Apr 2015 12:33:11 -0700 Subject: [PATCH] [server] fix typos from corresponding firewalld changes --- server/fw_util_iptables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/fw_util_iptables.c b/server/fw_util_iptables.c index e355c04c..54127ccf 100644 --- a/server/fw_util_iptables.c +++ b/server/fw_util_iptables.c @@ -673,7 +673,7 @@ create_chain(const fko_srv_options_t * const opts, const int chain_num) return rv; } -static void +static int mk_chain(const fko_srv_options_t * const opts, const int chain_num) { int err = 0; @@ -1343,7 +1343,7 @@ process_spa_request(const fko_srv_options_t * const opts, /* DNAT rule */ - if(strlen(dnat_chain->to_chain) && !acc->disable_nat) + if(strlen(dnat_chain->to_chain) && !acc->disable_dnat) dnat_rule(opts, acc, dnat_chain, nat_ip, nat_port, fst_proto, fst_port, spadat, exp_ts, now);