Re: unblock request - ipsec-tools/racoon - iPhone OS support integrated
On Fri, 2010-08-13 at 15:46 +0200, Stefan Bauer wrote:
> Am 12.08.2010 21:59, Adam D. Barratt schrieb:
> > ++ if (strncmp(buf, "*", 2) == 0 ||
> > ++ (strncmp(buf, str, len) == 0 && buf[len] == '\0')) {
> >
> > Why the first two characters? Should the * not always be at the start
> > of the line?
[...]
> The comparrison of '2' is to make sure you're not comparing it to a
> string that just begins with a star. E.g., you don't want it to match
> "*foo".
Unblocked.
One quick thing for next time the package gets updated:
+specify * in the id-filed of psk.txt to match any client.
s/id-filed/id field/ (I assume)
Regards,
Adam
Reply to: