summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/log.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-09-02 14:34:05 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-09-02 14:34:05 +0000
commitcbb55ee9810dd7637742ffb048bafb8e6724e4a4 (patch)
tree4a13430f19bffaddeb33058ad40bd4fa5c7806a4 /usr.sbin/ldpd/log.c
parent387e88c0114b6b3a436bae0e9990765cde6d044b (diff)
NBR_STA_SESSION, NBR_STA_UP, and NBR_STA_ACTIVE represent all the same
group of states (all but NBR_STA_DOWN). Clean up this confusion and remove NBR_STA_UP and NBR_STA_ACTIVE. OK michele@
Diffstat (limited to 'usr.sbin/ldpd/log.c')
-rw-r--r--usr.sbin/ldpd/log.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/log.c b/usr.sbin/ldpd/log.c
index 8f7a6ea1830..45e063166bf 100644
--- a/usr.sbin/ldpd/log.c
+++ b/usr.sbin/ldpd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.7 2010/06/10 13:22:25 claudio Exp $ */
+/* $OpenBSD: log.c,v 1.8 2010/09/02 14:34:04 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -192,8 +192,6 @@ nbr_state_name(int state)
return ("OPENSENT");
case NBR_STA_OPER:
return ("OPERATIONAL");
- case NBR_STA_ACTIVE:
- return ("ACTIVE");
default:
return ("UNKNW");
}