Permalink
Browse files

Send additional parameters for ARIN queries (fixes #10).

  • Loading branch information...
1 parent be9b769 commit 1cad6b1f3d9cb0ebe99a61b9d1e2b78bb34e53df @linrock committed Apr 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/whois/server/adapters/arin.rb
@@ -26,11 +26,11 @@ class Arin < Base
# @return [void]
#
def request(string)
- response = query_the_socket(string, host)
+ response = query_the_socket("n + #{string}", host)
buffer_append response, host
if options[:referral] != false && (referral = extract_referral(response))
- response = query_the_socket(string, referral[:host], referral[:port])
+ response = query_the_socket("n + #{string}", referral[:host], referral[:port])
buffer_append(response, referral[:host])
end
end

0 comments on commit 1cad6b1

Please sign in to comment.