Skip to content

gnrc_ipv6_ext: fix packet snip type for header build function#11622

Merged
haukepetersen merged 1 commit intoRIOT-OS:masterfrom
miri64:gnrc_ipv6_ext/fix/nettype
Jun 4, 2019
Merged

gnrc_ipv6_ext: fix packet snip type for header build function#11622
haukepetersen merged 1 commit intoRIOT-OS:masterfrom
miri64:gnrc_ipv6_ext/fix/nettype

Conversation

@miri64
Copy link
Copy Markdown
Member

@miri64 miri64 commented Jun 4, 2019

Contribution description

The pkt->type of an extension header should be GNRC_NETTYPE_IPV6_EXT so it can be parsed properly as an extension after building. I noticed this while porting IPv6 fragmentation, the first user of this function (not considering #7231) when merged.

Testing procedure

There are no tests for this function, but also no users. So you have to rely on your eyes ;-). tests/gnrc_ipv6_ext should still compile.

Issues/PRs references

None

The `pkt->type` of an extension header should be
`GNRC_NETTYPE_IPV6_EXT` so it can be parsed properly as an extension
after building.
@miri64 miri64 requested a review from jia200x June 4, 2019 08:51
@miri64 miri64 added Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Jun 4, 2019
@miri64 miri64 added this to the Release 2019.07 milestone Jun 4, 2019
Copy link
Copy Markdown
Contributor

@haukepetersen haukepetersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust my eyes (and understanding) -> ACK

@haukepetersen
Copy link
Copy Markdown
Contributor

all green -> go.

@haukepetersen haukepetersen merged commit 7c369e9 into RIOT-OS:master Jun 4, 2019
@miri64 miri64 deleted the gnrc_ipv6_ext/fix/nettype branch June 4, 2019 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants