diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-03-03 13:52:40 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-03-03 13:52:40 +0000 |
commit | e8232fed9cbceb8e7424219848cd078e8e1a056d (patch) | |
tree | 910f9b23992c7b79be879b1b241ab16efd758670 /usr.sbin/bgpd/rde.h | |
parent | 7c1ee386d7860232e6ddb752aa63bdf4804a2217 (diff) |
Replace enum rib_state with enum reconf_action since their doing the same.
NEW is now REINIT, ACTIVE is KEEP and DELETE and NONE stay the same.
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index 6742ebdc64a..a22050fc26c 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.129 2010/01/13 06:02:37 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.130 2010/03/03 13:52:39 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and @@ -273,17 +273,10 @@ struct rib_entry { u_int16_t flags; }; -enum rib_state { - RIB_NONE, - RIB_NEW, - RIB_ACTIVE, - RIB_DELETE -}; - struct rib { char name[PEER_DESCR_LEN]; struct rib_tree rib; - enum rib_state state; + enum reconf_action state; u_int16_t flags; u_int16_t id; }; |