summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_requested_ip_address_test.go
diff options
context:
space:
mode:
authorSean Karlage <skarlage@fb.com>2018-10-01 09:21:23 -0700
committerSean Karlage <skarlage@fb.com>2018-10-01 09:21:23 -0700
commitfafee2841d9aa4218f5de9506d45b1255ded393b (patch)
tree76587965376d7d32e2665ed24b82c158573a79db /dhcpv4/option_requested_ip_address_test.go
parent884667ec282b43650c4d3a50530e2753f3919448 (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