Problem with $hostname in Reports - Solved

Derek Winkler dwinkler at ALGORITHMICS.COM
Fri Sep 24 15:28:49 IST 2004


The CustomConfig.pm functions Hostname and IBlock both use the variable
$hostname, this mangles the hostname for reports and elsewhere probably, I
just noticed it in the reports.

Since it was easier, I changed the Hostname CustomConfig function to user
$hostname2 instead.

Also, had to add...

my($hostname);

after,

my(%IP2Limit, %IPBWhiteCIDR);
my(%CIDRtoLimit); # Map CIDR onto limit
my(@CIDRlist);    # Ordered list of rules, all in CIDR form

in the IPBlock code.

Thanks,

Derek

---







This email and any files transmitted with it are confidential and
proprietary to Algorithmics Incorporated and its affiliates
("Algorithmics").  If received in error, use is prohibited.  Please destroy,
and notify sender.  Sender does not waive confidentiality or privilege.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  Algorithmics does not accept liability for any errors or
omissions.  Any commitment intended to bind Algorithmics must be reduced to
writing and signed by an authorized signatory.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list