mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Ignore common malformed dhcpv6 request
This commit is contained in:
parent
bf4842baa9
commit
ecb9a6633e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user