|
Lines 98-104
Link Here
|
| 98 |
ret = 0; /* report success */ |
98 |
ret = 0; /* report success */ |
| 99 |
bcopy(cp + 2, &oldmss, sizeof(oldmss)); |
99 |
bcopy(cp + 2, &oldmss, sizeof(oldmss)); |
| 100 |
/* Do not update lower MSS value */ |
100 |
/* Do not update lower MSS value */ |
| 101 |
if (oldmss <= mss) |
101 |
if (ntohs(oldmss) <= ntohs(mss)) |
| 102 |
break; |
102 |
break; |
| 103 |
bcopy(&mss, cp + 2, sizeof(mss)); |
103 |
bcopy(&mss, cp + 2, sizeof(mss)); |
| 104 |
/* Update checksum if it is not delayed. */ |
104 |
/* Update checksum if it is not delayed. */ |