mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 09:01:10 +02:00
equalized handling of non-matching communities
This commit is contained in:
parent
e97cf4aa28
commit
8ac86635e1
|
@ -883,9 +883,11 @@ static int process_udp(n2n_sn_t * sss,
|
||||||
traceEvent(TRACE_DEBUG, "Tx REGISTER_SUPER_ACK for %s [%s]",
|
traceEvent(TRACE_DEBUG, "Tx REGISTER_SUPER_ACK for %s [%s]",
|
||||||
macaddr_str(mac_buf, reg.edgeMac),
|
macaddr_str(mac_buf, reg.edgeMac),
|
||||||
sock_to_cstr(sockbuf, &(ack.sock)));
|
sock_to_cstr(sockbuf, &(ack.sock)));
|
||||||
} else
|
} else {
|
||||||
traceEvent(TRACE_INFO, "Discarded registration: unallowed community '%s'",
|
traceEvent(TRACE_INFO, "Discarded registration: unallowed community '%s'",
|
||||||
(char*)cmn.community);
|
(char*)cmn.community);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MSG_TYPE_QUERY_PEER: {
|
case MSG_TYPE_QUERY_PEER: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user