diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-03-05 15:07:08 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-03-05 15:07:08 +0200 |
commit | 667a65083f615d528ea0fd439a1d8d241c012cb0 (patch) | |
tree | b2a713318c1ac6c83c7ce19762fdb9dda47197f8 /mtu.c | |
parent | ca2533ac4521a1386a4e118256243aa32202d538 (diff) | |
download | pingu-667a65083f615d528ea0fd439a1d8d241c012cb0.tar.bz2 pingu-667a65083f615d528ea0fd439a1d8d241c012cb0.tar.xz |
mtu: handle pmtu properly
Fix a typo from previous commit to enable handling of pmtu responses.
Diffstat (limited to 'mtu.c')
-rw-r--r-- | mtu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ static int discover_mtu(void) try_mtu = 1500/2; while (1) { r = do_ping(seq++, try_mtu * 2); - if (r > 0 && r < try_mtu) { + if (r > 0 && r < try_mtu * 2) { /* pmtu */ high_mtu = r/2; try_mtu = high_mtu; |