From 7c84cadd430a3fefc70f929f77421c205aed0b17 Mon Sep 17 00:00:00 2001 From: Damien Stuart Date: Tue, 10 May 2016 22:43:11 -0400 Subject: [PATCH] Added missing parens on if statement (was causing compiler error on fw_util_iptables). --- server/fw_util_iptables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/fw_util_iptables.c b/server/fw_util_iptables.c index 26b71394..cf84a5d4 100644 --- a/server/fw_util_iptables.c +++ b/server/fw_util_iptables.c @@ -1535,7 +1535,7 @@ process_spa_request(const fko_srv_options_t * const opts, { ndx = strchr(spadat->nat_access, ','); str_len = strcspn(spadat->nat_access, ","); - if(ndx != NULL) && (str_len <= MAX_HOSTNAME_LEN) + if((ndx != NULL) && (str_len <= MAX_HOSTNAME_LEN)) { strlcpy(nat_dst, spadat->nat_access, str_len+1); if(! is_valid_ipv4_addr(nat_dst, str_len))