John Summerfield wrote:
> On Tuesday 20 February 2007 23:20, Joe Morris (NTM) wrote:
>
>> I know very little about this problem, so I will share what I know and
>> if anyone knows perl if you can give me a hint. Problem is this line in
>> ddclient,
>> debug("glo fw = $globals{'fw'}");,
>>
>> which causes this error when run,
>> Use of uninitialized value in concatenation (.) or string at
>> /usr/sbin/ddclient line 1646.
>>
>>
>
>
> What version of ddclient?
> I'm using 3.3.7 (on CentOS) and do not have a problem, even though it has
> that
> line:
> 1644 debug("server = $server");
> 1645 debug("opt(fw = ",opt('fw'));
> 1646 debug("glo fw = $globals{'fw'}");
>
> Hang on, what's that at the end of line 1646 in yours?
Not sure what the comma is doing there at the end, but I copied and
pasted, but I cannot see it in the original. I started with 3.3.7, but
had that error, so found out 3.3.7.1 was in factory, so tried it. I
then rebuilt the package with a couple of tweaks for it to work, i.e.
add the cache file and comment out this line (1660 in 3.7.7.1). I can
only guess Patrick is on to something since fw is not used in my setup
(which worked fine in 9.3, not sure what version of ddclient it had.
But I am not a programmer, and even less familiar with Perl. I just
wanted to make sure commenting out will not do something bad (and report
it to the author if it is a bug in ddclient). BTW, do you use the fw to
get your IP? Is it set in your conf file?
--
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]