summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dhcpv4/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/utils.go b/dhcpv4/utils.go
index d95f586..fed0679 100644
--- a/dhcpv4/utils.go
+++ b/dhcpv4/utils.go
@@ -1,7 +1,7 @@
package dhcpv4
// IsRequested function takes a DHCPv4 message and an OptionCode, and returns
-// true if that option is within the requested options of the DHCPv6 message.
+// true if that option is within the requested options of the DHCPv4 message.
func IsRequested(pkt *DHCPv4, requested OptionCode) bool {
for _, optprl := range pkt.GetOption(OptionParameterRequestList) {
for _, o := range optprl.(*OptParameterRequestList).RequestedOpts {