Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
23
Issues
23
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
a4729018
Commit
a4729018
authored
May 03, 2017
by
Filip Široký
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zonestatus: one line output
parent
02a095b2
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/knot/ctl/commands.c
src/knot/ctl/commands.c
+1
-5
No files found.
src/knot/ctl/commands.c
View file @
a4729018
...
...
@@ -274,7 +274,6 @@ static int zone_status(zone_t *zone, ctl_args_t *args)
}
}
// list modules
bool
ctl_type
=
true
;;
if
(
param
==
ZONE_STATUS_EVENT_TIMERS
||
param
==
ZONE_STATUS_NONE
)
{
time_t
ev_time
;
for
(
zone_event_type_t
i
=
0
;
i
<
ZONE_EVENT_COUNT
;
i
++
)
{
...
...
@@ -299,11 +298,8 @@ static int zone_status(zone_t *zone, ctl_args_t *args)
}
data
[
KNOT_CTL_IDX_DATA
]
=
buff
;
ret
=
knot_ctl_send
(
args
->
ctl
,
(
ctl_type
)
?
KNOT_CTL_TYPE_DATA
:
KNOT_CTL_TYPE_EXTRA
,
ret
=
knot_ctl_send
(
args
->
ctl
,
type
,
&
data
);
ctl_type
=
false
;
if
(
ret
!=
KNOT_EOK
)
{
return
ret
;
}
...
...
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