Update mud
This commit is contained in:
2
mud
2
mud
Submodule mud updated: b82534d54c...df0d941241
@@ -437,8 +437,10 @@ int main (int argc, char **argv)
|
|||||||
unsigned char *data = &buf[ic.hdr_size];
|
unsigned char *data = &buf[ic.hdr_size];
|
||||||
if (data[0]==3) {
|
if (data[0]==3) {
|
||||||
int new_mtu = (data[6]<<8)|data[7];
|
int new_mtu = (data[6]<<8)|data[7];
|
||||||
gt_log("received MTU from ICMP: %i\n", new_mtu);
|
if (new_mtu) {
|
||||||
mud_set_mtu(mud, new_mtu-50);
|
gt_log("received MTU from ICMP: %i\n", new_mtu);
|
||||||
|
mud_set_mtu(mud, new_mtu-50);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user