Re: weird code (bug?) in IP options handling

Nadav Har'El (nyh@math.technion.ac.il)
Thu, 19 Sep 2002 18:32:22 +0300


On Thu, Sep 19, 2002, Nadav Har'El wrote about "weird code (bug?) in IP options handling":
> I am guessing that this is just a programming error, and the programmer
> perhaps intended to make the assignment in the inner for loop as
>
> *optptr = IPOPT_END;

Oops, I meant something like

*optptr++ = IPOPT_END;

-- 
Nadav Har'El                        |    Thursday, Sep 19 2002, 14 Tishri 5763
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |"God is dead." - Nietzsche; "Nietzsche is
http://nadav.harel.org.il           |dead" - God
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/