freecwmp
[Top] [All Lists]

Re: [PATCH] freecwmp: make cwmp version configurable

To: Luka Perkov <openwrt@lukaperkov.net>
Subject: Re: [PATCH] freecwmp: make cwmp version configurable
From: Kaspar Schleiser <kaspar@schleiser.de>
Date: Thu, 23 Feb 2012 14:28:39 +0100
Cc: freecwmp@linux-mips.org
In-reply-to: <4F463B50.2000201@schleiser.de>
Original-recipient: rfc822;freecwmp@linux-mips.org
References: <1329917025-15282-1-git-send-email-kaspar@schleiser.de> <20120222152329.GA25852@w500.iskon.local> <4F451966.9070109@schleiser.de> <20120222185227.GC25852@w500.iskon.local> <4F463B50.2000201@schleiser.de>
Sender: freecwmp-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120212 Thunderbird/10.0.1
Hey Luka,

On 02/23/2012 02:12 PM, Kaspar Schleiser wrote:
* we'll switch to 1.0 by default
Sounds good. Will the client still work with HDM?

We could also just use the same version the server.
I just looked at the code again. My problem was that freecwmp hardcodes the urn it expects from the serverand then, if it doesn't find the one it expects in the server's response, it crashes. This is in xml_recreate_namespace IIRC.

We could just try to accept both strings. I'll try that.

Kaspar

<Prev in Thread] Current Thread [Next in Thread>