2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-05-01 04:47:45 +00:00

Fix logging when client ip == server ip

This commit is contained in:
Jarrod Johnson
2026-04-28 15:02:12 -04:00
parent 83ac9af196
commit 6421097f32

View File

@@ -754,7 +754,7 @@ async def reply_dhcp4(node, info, packet, cfg, reqview, httpboot, cfd, profile,
if not myipn:
myipn = info['netinfo']['recvip']
if niccfg['ipv4_address'] == myipn:
log.log({'error': 'Unable to serve {0} due to duplicated address between node and interface index "{}"'.format(node, info['netinfo']['ifidx'])})
log.log({'error': 'Unable to serve {} due to duplicated address between node and interface index "{}"'.format(node, info['netinfo']['ifidx'])})
return
can302 = True
if isboot and httpboot: