Log failure to determine MAC address in DHCPv6.

This commit is contained in:
Simon Kelley
2023-04-17 21:25:30 +01:00
parent bcb46809dc
commit 52e6ad2761

View File

@@ -457,6 +457,8 @@ static int dhcp6_no_relay(struct state *state, int msg_type, unsigned char *inbu
state->tags = &mac_opt->netid; state->tags = &mac_opt->netid;
} }
} }
else if (option_bool(OPT_LOG_OPTS))
my_syslog(MS_DHCP | LOG_INFO, _("%u cannot determine client MAC address"), state->xid);
if ((opt = opt6_find(state->packet_options, state->end, OPTION6_FQDN, 1))) if ((opt = opt6_find(state->packet_options, state->end, OPTION6_FQDN, 1)))
{ {