Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 1cad6b1f3d9cb0ebe99a61b9d1e2b78bb34e53df 1 parent be9b769
@linrock authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/whois/server/adapters/arin.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.