From f2346771cf5b22092dd3f5af3674008aa1e878d1 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 8 Mar 2010 21:44:32 +0100 Subject: [PATCH] Log unauthorized Subnets when StrictSubnets is set. --- src/protocol_subnet.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/protocol_subnet.c b/src/protocol_subnet.c index c284622..9ae491d 100644 --- a/src/protocol_subnet.c +++ b/src/protocol_subnet.c @@ -115,6 +115,8 @@ bool add_subnet_h(connection_t *c) { /* Ignore if strictsubnets is true, but forward it to others */ if(strictsubnets) { + logger(LOG_WARNING, "Ignoring unauthorized %s from %s (%s): %s", + "ADD_SUBNET", c->name, c->hostname, subnetstr); forward_request(c); return true; } -- 2.25.1