summaryrefslogtreecommitdiffhomepage
path: root/iana
diff options
context:
space:
mode:
authorAnatole Denis <natolumin@unverle.fr>2019-10-04 15:36:55 +0200
committerChris K <c@chrisko.ch>2020-06-20 21:42:12 -0700
commit0a25ba9f1fa6157f8290cb13954c1c8bea455112 (patch)
tree656512fc421168c2e0b36451ad2fabc792d0a2f3 /iana
parentff7ce1d50285d8f5467dcb4b8dd4dc08b8fc1f79 (diff)
dhcpv4: Remove hlen parameter special case in ToBytes()
There is a special case for when ClientHwAddr is empty, which seems to only apply when creating a packet with New(), which defaults to HWType==Ethernet but doesn't assign the ClientHwAddr field. All the other New*() constructors assign a hardware address and don't use this codepath Remove this special case and instead make New() generate an almost-correct packet in the first place, so that ToBytes() can stay more generic Signed-off-by: Anatole Denis <natolumin@unverle.fr>
Diffstat (limited to 'iana')
0 files changed, 0 insertions, 0 deletions