diff options
author | Brian Somers <brian@FreeBSD.org> | 2004-06-29 07:40:38 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2004-06-29 07:40:38 +0000 |
commit | d5939061993c5251fbdb41f9efed60598a261f41 (patch) | |
tree | 17271714a7062d1b36571cd242d7d4be037312f8 /usr.sbin/ppp | |
parent | a0ed72dc48bb5c2078e2bf3980e1d39967569b38 (diff) | |
download | src-test2-d5939061993c5251fbdb41f9efed60598a261f41.tar.gz src-test2-d5939061993c5251fbdb41f9efed60598a261f41.zip |
Notes
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/tcpmss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/tcpmss.c b/usr.sbin/ppp/tcpmss.c index 1fdbf0201c22..b4dc64ed3637 100644 --- a/usr.sbin/ppp/tcpmss.c +++ b/usr.sbin/ppp/tcpmss.c @@ -70,7 +70,7 @@ * We are in a liberal position about MSS * (RFC 879, section 7). */ -#define MAXMSS(mtu) (mtu - sizeof(struct ip) - sizeof(struct tcphdr)) +#define MAXMSS(mtu) ((mtu) - sizeof(struct ip) - sizeof(struct tcphdr) - 12) /*- |