summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2018-07-12 18:12:45 +0200
committerPablo Mazzini <pmazzini@gmail.com>2018-07-12 18:12:45 +0200
commit6ebda8509292d4f9091c36cdcf169a322bc173da (patch)
tree1935f694c69b25b9286d72eb8440dfe9502e305a /dhcpv6
parent1f5b1f1e690f046afd6fe2b1777f68beec555c9c (diff)
GetInnerRelay: update comment
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 {