summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfd.h
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-03-22 22:13:49 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-03-22 22:13:49 +0000
commit8a40b42338d4d8f23036428ca1de8583573f6461 (patch)
treec50a11e3e6587573d400bc774ac283925a2a0ca2 /usr.sbin/ospfd/ospfd.h
parenta5c8c7427195568ba9d33a925c8c45c14163b6a5 (diff)
Remove bool cruft.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.h')
-rw-r--r--usr.sbin/ospfd/ospfd.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.sbin/ospfd/ospfd.h b/usr.sbin/ospfd/ospfd.h
index e8d6ee337c8..d1fbc1d0fb2 100644
--- a/usr.sbin/ospfd/ospfd.h
+++ b/usr.sbin/ospfd/ospfd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfd.h,v 1.16 2005/03/15 22:03:56 claudio Exp $ */
+/* $OpenBSD: ospfd.h,v 1.17 2005/03/22 22:13:48 norby Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -27,7 +27,6 @@
#include <net/if.h>
#include <netinet/in.h>
#include <event.h>
-#include <stdbool.h>
#define CONF_FILE "/etc/ospfd.conf"
#define OSPFD_SOCKET "/var/run/ospfd.sock"
@@ -157,9 +156,8 @@ struct area {
u_int16_t rxmt_interval;
u_int16_t metric;
u_int8_t priority;
-
- bool transit;
- bool stub;
+ u_int8_t transit;
+ u_int8_t stub;
};
/* interface states */
@@ -298,8 +296,7 @@ struct iface {
enum auth_type auth_type;
u_int8_t linkstate;
u_int8_t priority;
-
- bool passive;
+ u_int8_t passive;
};
/* ospf_conf */
@@ -377,7 +374,7 @@ struct ctl_iface {
enum iface_type type;
u_int8_t linkstate;
u_int8_t priority;
- bool passive;
+ u_int8_t passive;
};
struct ctl_nbr {