diff --git a/server/fw_util_ipf.c b/server/fw_util_ipf.c index 37937aad..307d30ca 100644 --- a/server/fw_util_ipf.c +++ b/server/fw_util_ipf.c @@ -121,9 +121,6 @@ process_spa_request(const fko_srv_options_t *opts, const acc_stanza_t *acc, spa_ acc_port_list_t *port_list = NULL; acc_port_list_t *ple; - unsigned int fst_proto; - unsigned int fst_port; - int res = 0; time_t now; unsigned int exp_ts; @@ -136,12 +133,6 @@ process_spa_request(const fko_srv_options_t *opts, const acc_stanza_t *acc, spa_ */ ple = port_list; - /* Remember the first proto/port combo in case we need them - * for NAT access requests. - */ - fst_proto = ple->proto; - fst_port = ple->port; - /* Set our expire time value. */ time(&now); diff --git a/server/fw_util_ipfw.c b/server/fw_util_ipfw.c index a9c84c11..12fd0781 100644 --- a/server/fw_util_ipfw.c +++ b/server/fw_util_ipfw.c @@ -478,9 +478,6 @@ process_spa_request(const fko_srv_options_t * const opts, acc_port_list_t *port_list = NULL; acc_port_list_t *ple; - unsigned int fst_proto; - unsigned int fst_port; - int res = 0; time_t now; unsigned int exp_ts; @@ -493,12 +490,6 @@ process_spa_request(const fko_srv_options_t * const opts, */ ple = port_list; - /* Remember the first proto/port combo in case we need them - * for NAT access requests. - */ - fst_proto = ple->proto; - fst_port = ple->port; - /* Set our expire time value. */ time(&now); diff --git a/server/fw_util_pf.c b/server/fw_util_pf.c index 864375ac..a010e0c0 100644 --- a/server/fw_util_pf.c +++ b/server/fw_util_pf.c @@ -202,9 +202,6 @@ process_spa_request(const fko_srv_options_t * const opts, acc_port_list_t *port_list = NULL; acc_port_list_t *ple; - unsigned int fst_proto; - unsigned int fst_port; - int res = 0; time_t now; unsigned int exp_ts; @@ -217,12 +214,6 @@ process_spa_request(const fko_srv_options_t * const opts, */ ple = port_list; - /* Remember the first proto/port combo in case we need them - * for NAT access requests. - */ - fst_proto = ple->proto; - fst_port = ple->port; - /* Set our expire time value. */ time(&now);