mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
config: remove unnecessary padding
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
2ecfc86a06
commit
c7e0058994
2 changed files with 2 additions and 7 deletions
|
|
@ -343,8 +343,7 @@ int main(int argc, char **argv)
|
||||||
.header_limit = 8,
|
.header_limit = 8,
|
||||||
.ranges_size = 64,
|
.ranges_size = 64,
|
||||||
.ip_version = IPvUNKNOWN,
|
.ip_version = IPvUNKNOWN,
|
||||||
.color_mode = color_auto,
|
.color_mode = color_auto
|
||||||
0
|
|
||||||
};
|
};
|
||||||
int ret_val;
|
int ret_val;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,6 @@ struct shared_network_t {
|
||||||
double backups;
|
double backups;
|
||||||
struct shared_network_t *next;
|
struct shared_network_t *next;
|
||||||
int netmask;
|
int netmask;
|
||||||
uint32_t pad;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*! \struct range_t
|
/*! \struct range_t
|
||||||
|
|
@ -152,7 +151,6 @@ struct output_helper_t {
|
||||||
double tcp;
|
double tcp;
|
||||||
double bup;
|
double bup;
|
||||||
int status;
|
int status;
|
||||||
uint32_t pad;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*! \struct status_counts_t
|
/*! \struct status_counts_t
|
||||||
|
|
@ -182,7 +180,6 @@ struct leases_t {
|
||||||
char *ethernet;
|
char *ethernet;
|
||||||
UT_hash_handle hh;
|
UT_hash_handle hh;
|
||||||
enum ltype type;
|
enum ltype type;
|
||||||
uint32_t pad;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*! \enum limbits
|
/*! \enum limbits
|
||||||
|
|
@ -251,8 +248,7 @@ struct conf_t {
|
||||||
skip_critical:1, /*!< Skip critical values from output. */
|
skip_critical:1, /*!< Skip critical values from output. */
|
||||||
skip_minsize:1, /*!< Skip alarming values that are below minsize from output. */
|
skip_minsize:1, /*!< Skip alarming values that are below minsize from output. */
|
||||||
skip_suppressed:1, /*!< Skip alarming values that are suppressed with --snet-alarms option, or they are shared networks without IP availability. */
|
skip_suppressed:1, /*!< Skip alarming values that are suppressed with --snet-alarms option, or they are shared networks without IP availability. */
|
||||||
color_mode:2, /*!< Indicator if colors should be used in output. */
|
color_mode:2; /*!< Indicator if colors should be used in output. */
|
||||||
pad_bits:4;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Function prototypes */
|
/* Function prototypes */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue