chiark / gitweb /
pathmtu/pathmtu.c: Fix search algorithm.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 17 Sep 2012 13:31:08 +0000 (14:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 17 Sep 2012 13:43:43 +0000 (14:43 +0100)
Turns out I can't write a binary search algorithm.  Fiddle with it so
that it doesn't get stuck sometimes.  Some of the bounds management is a
little tricky, so add some documentation and assertions to make sure
that everything is as expected.


No differences found