Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
402c03af
Commit
402c03af
authored
Dec 05, 2011
by
Yoshitaka Aharen
Browse files
[trac510] style fix; do not set specific values for enums
parent
657349ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/statistics.h
View file @
402c03af
...
...
@@ -56,14 +56,14 @@ private:
public:
// Enum for the type of counter
enum
ServerCounterType
{
SERVER_UDP_QUERY
=
0
,
///< SERVER_UDP_QUERY: counter for UDP queries
SERVER_TCP_QUERY
=
1
,
///< SERVER_TCP_QUERY: counter for TCP queries
SERVER_COUNTER_TYPES
=
2
///< The number of defined counters
SERVER_UDP_QUERY
,
///< SERVER_UDP_QUERY: counter for UDP queries
SERVER_TCP_QUERY
,
///< SERVER_TCP_QUERY: counter for TCP queries
SERVER_COUNTER_TYPES
///< The number of defined counters
};
enum
PerZoneCounterType
{
ZONE_UDP_QUERY
=
0
,
///< ZONE_UDP_QUERY: counter for UDP queries
ZONE_TCP_QUERY
=
1
,
///< ZONE_TCP_QUERY: counter for TCP queries
PER_ZONE_COUNTER_TYPES
=
2
///< The number of defined counters
ZONE_UDP_QUERY
,
///< ZONE_UDP_QUERY: counter for UDP queries
ZONE_TCP_QUERY
,
///< ZONE_TCP_QUERY: counter for TCP queries
PER_ZONE_COUNTER_TYPES
///< The number of defined counters
};
/// The constructor.
///
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment