Bugs item #2800723, was opened at 2009-06-03 23:08
Message generated for change (Comment added) made by erijo
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=676128&aid=2800723&group_id=116817
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Erik Johansson (erijo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Invalid Value for keyword 'ip' = '' saved to cache
Initial Comment:
ddclient saves an empty value for the IP-address to the cache, resulting in the following warning the next time ddclient is run:
WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
The reason for this is that the server I connect to (dyndns2, custom) replies with "good" after updating and "nochg" when no update have been done. But ddclient seems to except that the reply contains the IP, which it in this case doesn't do.
The attached patch fixes the problem for me with ddclient version 3.7.3.
----------------------------------------------------------------------
>Comment By: Erik Johansson (erijo)
Date: 2009-06-08 20:00
Message:
I have now tried the latest version from subversion and it doesn't work
without my patch. But with the patch applied it works.
----------------------------------------------------------------------
Comment By: wimpunk (wimpunk)
Date: 2009-06-04 09:14
Message:
I've been commenting your patch before I took a look. I remember there has
been a patch out to fix almost the same problem. I will have to check the
archive. Could you please verify your patch against 3.8.0 or the
subversion version?
----------------------------------------------------------------------
Comment By: wimpunk (wimpunk)
Date: 2009-06-04 09:09
Message:
I think you interpreted the result incorrect. The ip in the cache file is
the latest version it knew. On line 3387 of the subversion version you see
what ddclient does when it gets a nochg answer from dyndns.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=676128&aid=2800723&group_id=116817
|