CC: | James Richmond <james.richmond [...] hotel-broadband.com> |
Subject: | Possible bug in RADIUS.pm in POE::Component::Client::RADIUS |
Date: | Thu, 4 Feb 2010 13:12:19 +0000 |
To: | "bug-POE-Component-Client-RADIUS [...] rt.cpan.org" <bug-POE-Component-Client-RADIUS [...] rt.cpan.org> |
From: | Ben Clifford <ben.clifford [...] hotel-broadband.com> |
Dear Chris,
I believe I have spotted a bug in RADIUS.pm in V1.00. Using the sample code on cpan.org at http://search.cpan.org/~bingos/POE-Component-Client-RADIUS-1.00/lib/POE/Component/Client/RADIUS.pm I get an undefined subroutine at ln 252 and and undefined variable at 258. Looking at the source is looks as though $data->{port} is undefined due to a spelling mistake of authenticate in ln 203. I have patched it and attached a diff, all seems to work fine for me now however here are my versions FYI
OS Centos 5.2
Perl 5.8.8 (Centos RPM installation)
POE::Component::Client::RADIUS 1.00
Kind regards,
Ben
--
Ben Clifford BSc (Hons)
Hotel Broadband
Technical Director
Hotel TV, Guest Internet & Phones
Direct Dial +44(0)117 3250187
Hotel Broadband, 5th Floor, Broad Quay House, Prince Street, Bristol BS1 4DJ
Email ben@hotel-broadband.com<mailto:ben@hotel-broadband.com>
W www.hotel-broadband.com<http://www.hotel-broadband.com>
Switchboard +44(0)800 881 8495
Support +44(0)800 881 8835
Fax +44(0)870 1338 330
Message body is not shown because sender requested not to inline it.