diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ldpd/packet.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/packet.c b/usr.sbin/ldpd/packet.c index 80c42a09637..b23739c6d90 100644 --- a/usr.sbin/ldpd/packet.c +++ b/usr.sbin/ldpd/packet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.14 2011/01/10 12:28:25 claudio Exp $ */ +/* $OpenBSD: packet.c,v 1.15 2011/03/12 01:52:04 claudio Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -274,6 +274,8 @@ session_accept(int fd, short event, void *bula) struct ibuf *buf; /* If there is no neighbor matching there is no Hello adjacency: try to send notification */ + log_warnx("Connection attempt from unknown neighbor %s: %s", + inet_ntoa(src.sin_addr), "NO HELLO"); buf = send_notification(S_NO_HELLO, NULL, 0, 0); write(newfd, buf->buf, buf->wpos); ibuf_free(buf); |