2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Ignore common malformed dhcpv6 request

This commit is contained in:
Jarrod Johnson 2021-11-18 09:16:57 -05:00
parent bf4842baa9
commit ecb9a6633e

View File

@ -415,6 +415,9 @@ def process_dhcp6req(handler, rqv, addr, net, cfg, nodeguess):
req['rqtype'] = bytearray(rqv[:1])[0]
if not disco.get('uuid', None) or not disco.get('arch', None):
return
if disco['uuid'] == '03000200-0400-0500-0006-000700080009':
# Ignore common malformed dhcpv6 request from firmware
return
mac = neighutil.get_hwaddr(ip.split('%', 1)[0])
if not mac:
net.sendto(b'\x00', addr)