From a7807eb2884b70deefda3cc848758f590c757a00 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Tue, 21 Jul 2015 13:11:19 +0300 Subject: [PATCH] Replaced remote ip to ip for counter #2348 --- app/controllers/epp_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index 2cd1c8bc7..5425c8b57 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -328,6 +328,6 @@ class EppController < ApplicationController def iptables_counter_update return if ENV['iptables_counter_enabled'].blank? && ENV['iptables_counter_enabled'] != 'true' return if current_user.blank? - counter_update(current_user.registrar_code, request.remote_ip) + counter_update(current_user.registrar_code, request.ip) end end