From: Mark Wooding Date: Mon, 17 Sep 2012 13:31:08 +0000 (+0100) Subject: pathmtu/pathmtu.c: Fix search algorithm. X-Git-Tag: 1.0.0pre11~3 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/commitdiff_plain/d245350adb5c3c687159409dcecc24fd1e7098d0?hp=d245350adb5c3c687159409dcecc24fd1e7098d0 pathmtu/pathmtu.c: Fix search algorithm. 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. ---