diff options
author | Sean Karlage <skarlage@fb.com> | 2018-10-01 09:21:23 -0700 |
---|---|---|
committer | Sean Karlage <skarlage@fb.com> | 2018-10-01 09:21:23 -0700 |
commit | fafee2841d9aa4218f5de9506d45b1255ded393b (patch) | |
tree | 76587965376d7d32e2665ed24b82c158573a79db /dhcpv4/option_requested_ip_address_test.go | |
parent | 884667ec282b43650c4d3a50530e2753f3919448 (diff) |
BSDP: Add MessageTypeFromPacket helper
This is a helper function to extract the BSDP message type from a given
`dhcpv4.DHCPv4` packet structure. It's useful in helping to identify
what kind of BSDP packet you're dealing with (since the distinction is
only made in one of the vendor-specific options encapsulated in Option
43).
Diffstat (limited to 'dhcpv4/option_requested_ip_address_test.go')
0 files changed, 0 insertions, 0 deletions