File: 01_whois_new_query_fix.patch

package info (click to toggle)
asused 3.72-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 876 kB
  • sloc: perl: 3,437; sh: 7; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Jan Wagner <waja@cyconet.org>
Subject: Make use of -B parameter of ripe whois.
Forwarded: not-needed

--- a/Whois/RipeWhois/RipeWhois.pm
+++ b/Whois/RipeWhois/RipeWhois.pm
@@ -133,6 +133,9 @@ sub Query {
     my $self = shift;
     # Filter out empty paramters
     my @query = grep { /\S+/ } @_;
+
+    # Fix for new whois query defaults (2 May 2005) ZS.
+    unshift(@query, '-B', '-G');
     
     # Add keep-alive flag if necessary
     if($self->{'KeepAlive'}) {