diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2023-04-17 21:25:30 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2023-04-17 21:25:30 +0100 |
commit | 52e6ad2761e4e39c3e89fe3b8d68b98cf538a27c (patch) | |
tree | 9c4c7540fe631d20564186dfa71229221d91c0aa /src/rfc3315.c | |
parent | bcb46809dcf8992aeb36a3267e4af4ac1c04f471 (diff) | |
download | dnsmasq-52e6ad2761e4e39c3e89fe3b8d68b98cf538a27c.tar.gz |
Log failure to determine MAC address in DHCPv6.
Diffstat (limited to 'src/rfc3315.c')
-rw-r--r-- | src/rfc3315.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rfc3315.c b/src/rfc3315.c index bc09887..d513844 100644 --- a/src/rfc3315.c +++ b/src/rfc3315.c @@ -457,6 +457,8 @@ static int dhcp6_no_relay(struct state *state, int msg_type, unsigned char *inbu 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))) { |