chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pathmtu/pathmtu.c: Use IP_PMTUDISC_PROBE for sending the lookups.
[tripe]
/
pathmtu
/
pathmtu.c
diff --git
a/pathmtu/pathmtu.c
b/pathmtu/pathmtu.c
index 8dac7b1153293f80822539adab2877ff1128e7eb..e8861f705d6991a431fba4c3455c391d690bbe74 100644
(file)
--- a/
pathmtu/pathmtu.c
+++ b/
pathmtu/pathmtu.c
@@
-623,7
+623,7
@@
static int linux_setup(void *stv, int sk, const struct param *pp)
st->sk = sk;
/* Turn on kernel path-MTU discovery and force DF on. */
- i = IP_PMTUDISC_
DO
;
+ i = IP_PMTUDISC_
PROBE
;
if (setsockopt(st->sk, IPPROTO_IP, IP_MTU_DISCOVER, &i, sizeof(i)))
return (-1);