From 9b15e9e7f0c010df3648224c2ee817666885cd07 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 d8c22c38c..5184b3ebb 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -333,6 +333,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