Commit a5ae1f85 authored by Simon Kelley's avatar Simon Kelley

Logs in DHCPv6 not suppressed by dhcp6-quiet.

parent b8f16556
...@@ -105,6 +105,10 @@ version 2.73 ...@@ -105,6 +105,10 @@ version 2.73
NS and SOA queries. Thanks to Johnny S. Lee for NS and SOA queries. Thanks to Johnny S. Lee for
pointing out the problem. pointing out the problem.
Fix logging of DHCPREPLY which should be suppressed
by quiet-dhcp6. Thanks to J. Pablo Abonia for
spotting the problem.
version 2.72 version 2.72
Add ra-advrouter mode, for RFC-3775 mobile IPv6 support. Add ra-advrouter mode, for RFC-3775 mobile IPv6 support.
......
...@@ -1049,7 +1049,7 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_ ...@@ -1049,7 +1049,7 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_
message = _("address invalid"); message = _("address invalid");
} }
if (message) if (message && (message != state->hostname))
log6_packet(state, "DHCPREPLY", req_addr, message); log6_packet(state, "DHCPREPLY", req_addr, message);
else else
log6_quiet(state, "DHCPREPLY", req_addr, message); log6_quiet(state, "DHCPREPLY", req_addr, message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment