[sr-dev] git:master: permissions: fix ws support on allow_trusted function.
Victor Seva
linuxmaniac at torreviejawireless.org
Tue Aug 27 09:48:46 CEST 2013
On 27 Aug 2013 08:09, "Alex Hermann" <alex at speakup.nl> wrote:
>
> On Tuesday 27 August 2013, Victor Seva wrote:
> > - if(proto.len!=3 && proto.len!=4)
> > + if(proto.len<2 && proto.len>4)
> > goto error;
>
> This is wrong, the condition will never match. You probably want to use ||
> instead of &&.
Yes. My mistake. I will try to change it as soon as I get home.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130827/b25200d4/attachment.html>
More information about the sr-dev
mailing list