daniestevez / dvb-gse

Rust implementation of DVB-GSE
Apache License 2.0
17 stars 3 forks source link

Fix handling of label re-use #21

Closed daniestevez closed 1 year ago

daniestevez commented 1 year ago

The label re-use option was not taken into account correctly when computing the length of the header. The length of the label borrowed from a preceding packet was being added when computing the length of the GSE header, but it should not be added.