diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2005-03-22 22:13:49 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2005-03-22 22:13:49 +0000 |
commit | 8a40b42338d4d8f23036428ca1de8583573f6461 (patch) | |
tree | c50a11e3e6587573d400bc774ac283925a2a0ca2 /usr.sbin/ospfd/ospfd.h | |
parent | a5c8c7427195568ba9d33a925c8c45c14163b6a5 (diff) |
Remove bool cruft.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.h')
-rw-r--r-- | usr.sbin/ospfd/ospfd.h | 13 |
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 { |