Lower log level for "Ignore multicast" log messages
This commit is contained in:
parent
1f34493be4
commit
0bab833f76
1 changed files with 3 additions and 3 deletions
|
@ -581,7 +581,7 @@ static void route_ipv4(node_t *source, vpn_packet_t *packet) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (subnet->multicast) {
|
if (subnet->multicast) {
|
||||||
logger(DEBUG_ALWAYS, LOG_WARNING, "Ignore multicast from %s (%s) to %d.%d.%d.%d !", source->name, source->hostname,
|
logger(DEBUG_TRAFFIC, LOG_WARNING, "Ignore multicast from %s (%s) to %d.%d.%d.%d !", source->name, source->hostname,
|
||||||
dest.x[0],
|
dest.x[0],
|
||||||
dest.x[1],
|
dest.x[1],
|
||||||
dest.x[2],
|
dest.x[2],
|
||||||
|
@ -679,7 +679,7 @@ static void route_ipv6(node_t *source, vpn_packet_t *packet) {
|
||||||
|
|
||||||
if (subnet->multicast) {
|
if (subnet->multicast) {
|
||||||
// Prevent loops
|
// Prevent loops
|
||||||
logger(DEBUG_ALWAYS, LOG_WARNING, "Ignore multicast from %s (%s) to IPv6 destination address %hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx",
|
logger(DEBUG_TRAFFIC, LOG_WARNING, "Ignore multicast from %s (%s) to IPv6 destination address %hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx",
|
||||||
source->name, source->hostname,
|
source->name, source->hostname,
|
||||||
ntohs(dest.x[0]),
|
ntohs(dest.x[0]),
|
||||||
ntohs(dest.x[1]),
|
ntohs(dest.x[1]),
|
||||||
|
@ -696,7 +696,7 @@ static void route_ipv6(node_t *source, vpn_packet_t *packet) {
|
||||||
if (!subnet->owner) {
|
if (!subnet->owner) {
|
||||||
// Prevent loops
|
// Prevent loops
|
||||||
if (strictsubnets && !subnet_src) {
|
if (strictsubnets && !subnet_src) {
|
||||||
logger(DEBUG_ALWAYS, LOG_WARNING, "Ignore broadcast packet from %s (%s): unknown IPv6 source address %hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx",
|
logger(DEBUG_TRAFFIC, LOG_WARNING, "Ignore broadcast packet from %s (%s): unknown IPv6 source address %hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx",
|
||||||
source->name, source->hostname,
|
source->name, source->hostname,
|
||||||
ntohs(src.x[0]),
|
ntohs(src.x[0]),
|
||||||
ntohs(src.x[1]),
|
ntohs(src.x[1]),
|
||||||
|
|
Loading…
Add table
Reference in a new issue