Skip to content

Commit c03dde9

Browse files
committed
vlan: fix comment on VLAN.UnmarshalBinary
1 parent b857f3d commit c03dde9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlan.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func (v *VLAN) read(b []byte) (int, error) {
107107
return 2, nil
108108
}
109109

110-
// UnmarshalBinary unmarshals a byte slice into a Frame.
110+
// UnmarshalBinary unmarshals a byte slice into a VLAN.
111111
//
112112
// If the byte slice does not contain exactly 2 bytes of data,
113113
// io.ErrUnexpectedEOF is returned.

0 commit comments

Comments
 (0)