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
BIND
Commits
e3239b40
Commit
e3239b40
authored
Sep 09, 2002
by
Michael Graff
Browse files
remove the periodic 'still alive' message
parent
de6aca41
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/named/include/named/server.h
View file @
e3239b40
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.h,v 1.6
7
2002/09/0
8 18:34:04
explorer Exp $ */
/* $Id: server.h,v 1.6
8
2002/09/0
9 21:20:16
explorer Exp $ */
#ifndef NAMED_SERVER_H
#define NAMED_SERVER_H 1
...
...
@@ -73,7 +73,6 @@ struct ns_server {
isc_timer_t
*
interface_timer
;
isc_timer_t
*
heartbeat_timer
;
isc_timer_t
*
check_timer
;
isc_uint32_t
interface_interval
;
isc_uint32_t
heartbeat_interval
;
...
...
bin/named/server.c
View file @
e3239b40
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.38
5
2002/09/09 2
0:03
:1
8
explorer Exp $ */
/* $Id: server.c,v 1.38
6
2002/09/09 2
1:20
:1
5
explorer Exp $ */
#include <config.h>
...
...
@@ -1561,16 +1561,6 @@ heartbeat_timer_tick(isc_task_t *task, isc_event_t *event) {
}
}
static
void
check_timer_tick
(
isc_task_t
*
task
,
isc_event_t
*
event
)
{
UNUSED
(
task
);
isc_event_free
(
&
event
);
isc_log_write
(
ns_g_lctx
,
NS_LOGCATEGORY_GENERAL
,
NS_LOGMODULE_SERVER
,
ISC_LOG_INFO
,
"************ I'm still alive! **************"
);
}
/*
* Replace the current value of '*field', a dynamically allocated
* string or NULL, with a dynamically allocated copy of the
...
...
@@ -1912,17 +1902,6 @@ load_configuration(const char *filename, ns_server_t *server,
}
server
->
heartbeat_interval
=
heartbeat_interval
;
/*
* Configure the dialup heartbeat timer.
*/
{
isc_interval_t
interval
;
isc_interval_set
(
&
interval
,
60
,
0
);
CHECK
(
isc_timer_reset
(
server
->
check_timer
,
isc_timertype_ticker
,
NULL
,
&
interval
,
ISC_FALSE
));
}
/*
* Configure and freeze all explicit views. Explicit
* views that have zones were already created at parsing
...
...
@@ -2309,12 +2288,6 @@ run_server(isc_task_t *task, isc_event_t *event) {
server
,
&
server
->
heartbeat_timer
),
"creating heartbeat timer"
);
CHECKFATAL
(
isc_timer_create
(
ns_g_timermgr
,
isc_timertype_inactive
,
NULL
,
NULL
,
server
->
task
,
check_timer_tick
,
server
,
&
server
->
check_timer
),
"creating check timer"
);
CHECKFATAL
(
cfg_parser_create
(
ns_g_mctx
,
NULL
,
&
ns_g_parser
),
"creating default configuration parser"
);
...
...
@@ -2376,7 +2349,6 @@ shutdown_server(isc_task_t *task, isc_event_t *event) {
isc_timer_detach
(
&
server
->
interface_timer
);
isc_timer_detach
(
&
server
->
heartbeat_timer
);
isc_timer_detach
(
&
server
->
check_timer
);
ns_interfacemgr_shutdown
(
server
->
interfacemgr
);
ns_interfacemgr_detach
(
&
server
->
interfacemgr
);
...
...
@@ -2464,7 +2436,6 @@ ns_server_create(isc_mem_t *mctx, ns_server_t **serverp) {
server
->
interface_timer
=
NULL
;
server
->
heartbeat_timer
=
NULL
;
server
->
check_timer
=
NULL
;
server
->
interface_interval
=
0
;
server
->
heartbeat_interval
=
0
;
...
...
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