summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6')
-rw-r--r--dhcpv6/dhcpv6relay.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv6/dhcpv6relay.go b/dhcpv6/dhcpv6relay.go
index 527eddc..2387212 100644
--- a/dhcpv6/dhcpv6relay.go
+++ b/dhcpv6/dhcpv6relay.go
@@ -158,8 +158,8 @@ func (d *DHCPv6Relay) GetInnerMessage() (DHCPv6, error) {
}
}
-// Recurse into a relay message and extract and return the inner DHCPv6Relay.
-// Return nil if none found (e.g. not a relay message).
+// GetInnerRelay recurses into a relay message and extract and return the inner
+// DHCPv6Relay. Return nil if none found (e.g. not a relay message).
func (r *DHCPv6Relay) GetInnerRelay() (DHCPv6, error) {
p := r
for {