Malformed IP packet used in code example

Bug #1178441 reported by Didier Barvaux on 2013-05-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Status tracked in Rohc-main
1.3.x
Undecided
Didier Barvaux
1.4.x
Undecided
Didier Barvaux
Rohc-1.5.x
Low
Didier Barvaux
Rohc-main
Low
Didier Barvaux

Bug Description

There is something wrong with the example application. It should compress the IP packet with the best profile that was enabled, ie. the IP-only profile.

That's not the case because a mistake was done when building the fake IP packet. The Total Length field is in Host Byte Order instead of Network Byte Order. The ROHC library therefore detects that the packet is not a valid IP packet. In consequence it chooses the Uncompressed profile instead of the IP-only profile.

Problem reported by Wei Wang. Thank to him.

Didier Barvaux (didier-barvaux) wrote :
tags: added: example
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers