mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
Modified "calcChecksum" function in jungfrauDetectorServer/firmware_funcs.c to compute properly the new IP header checksum for a new application header of 48 bytes.
This commit is contained in:
parent
bc57ea5725
commit
7901b6f463
@ -1568,7 +1568,7 @@ long int calcChecksum(int sourceip, int destip) {
|
||||
ip.ip_ver = 0x4;
|
||||
ip.ip_ihl = 0x5;
|
||||
ip.ip_tos = 0x0;
|
||||
ip.ip_len = 0x2032;//ipPacketSize;//fixed in firmware
|
||||
ip.ip_len = 0x2052;//ipPacketSize;//fixed in firmware
|
||||
ip.ip_ident = 0x0000;
|
||||
ip.ip_flag = 0x2; //not nibble aligned (flag& offset
|
||||
ip.ip_offset = 0x000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user