summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
diff options
context:
space:
mode:
authorkayos <kayos@tcp.direct>2022-05-03 12:40:46 -0700
committerinsomniac <insomniacslk@users.noreply.github.com>2022-05-03 23:02:50 +0100
commit7863042b176b5f1ca9a1021b529ced63acf20c63 (patch)
tree0c0996947e6aa0a5e27564c6ef4d2d0252ab58c9 /dhcpv4
parent12fbdcb11b41fa90662c34620e09dc7714d67ab3 (diff)
Documentation: Description is inverse of reality
Signed-off-by: kayos@tcp.direct <kayos@tcp.direct>
Diffstat (limited to 'dhcpv4')
-rw-r--r--dhcpv4/dhcpv4.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/dhcpv4.go b/dhcpv4/dhcpv4.go
index fae08fb..b894fbb 100644
--- a/dhcpv4/dhcpv4.go
+++ b/dhcpv4/dhcpv4.go
@@ -278,7 +278,7 @@ func NewReleaseFromACK(ack *DHCPv4, modifiers ...Modifier) (*DHCPv4, error) {
)...)
}
-// FromBytes encodes the DHCPv4 packet into a sequence of bytes, and returns an
+// FromBytes decodes a DHCPv4 packet from a sequence of bytes, and returns an
// error if the packet is not valid.
func FromBytes(q []byte) (*DHCPv4, error) {
var p DHCPv4