Skip to content

Fix DHCPv4 header field name hops#21

Merged
mosajjal merged 1 commit intogopacket:masterfrom
aibor:dhcpv4-hdr-fix
Jul 26, 2023
Merged

Fix DHCPv4 header field name hops#21
mosajjal merged 1 commit intogopacket:masterfrom
aibor:dhcpv4-hdr-fix

Conversation

@aibor
Copy link
Copy Markdown
Contributor

@aibor aibor commented Jul 19, 2023

The DHCPv4 header field "HardwareOpts" is misleading. This fields original name by RFC 2131, which just takes it from RFC 951, is "hops". It has never changed meaning and still reflects number of relay agents it passed, as described in RFC 951 section 8.

This commit changes the name of the field "HardwareOpts" to "RelayHops".

The DHCPv4 header field "HardwareOpts" is misleading. This fields
original name by RFC 2131, which just takes it from RFC 951, is "hops".
It has never changed meaning and still reflects number of relay agents
it passed, as described in RFC 951 section 8.

This commit changes the name of the field "HardwareOpts" to "RelayHops".
@mosajjal mosajjal self-assigned this Jul 22, 2023
@mosajjal mosajjal merged commit e45ac2c into gopacket:master Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants