summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/log.c
diff options
context:
space:
mode:
authormichele <michele@openbsd.org>2006-10-31 23:43:11 +0000
committermichele <michele@openbsd.org>2006-10-31 23:43:11 +0000
commite3be6b293441ddfeebf98da8f1bfcf5f9023c73c (patch)
tree76c75dfc73210d5c923706f6e0a115c37b84760c /usr.sbin/ripd/log.c
parentDo not map obio mappings twice. (diff)
downloadwireguard-openbsd-e3be6b293441ddfeebf98da8f1bfcf5f9023c73c.tar.xz
wireguard-openbsd-e3be6b293441ddfeebf98da8f1bfcf5f9023c73c.zip
create a temporary neighbor instead of a permanent one when a request is received
Diffstat (limited to 'usr.sbin/ripd/log.c')
-rw-r--r--usr.sbin/ripd/log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ripd/log.c b/usr.sbin/ripd/log.c
index e581250f667..f91405608f2 100644
--- a/usr.sbin/ripd/log.c
+++ b/usr.sbin/ripd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: log.c,v 1.2 2006/10/31 23:43:11 michele Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -169,6 +169,8 @@ nbr_state_name(int state)
switch (state) {
case NBR_STA_DOWN:
return ("DOWN");
+ case NBR_STA_REQ_RCVD:
+ return ("REQUEST RCVD");
case NBR_STA_ACTIVE:
return ("ACTIVE");
default: