Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian Schrader
Kea
Commits
432a5757
Commit
432a5757
authored
Dec 19, 2016
by
Francis Dupont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[master] Commented unused arguments
parent
6da43881
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/bin/agent/ctrl_agent_cfg_mgr.cc
src/bin/agent/ctrl_agent_cfg_mgr.cc
+2
-2
src/bin/agent/ctrl_agent_process.cc
src/bin/agent/ctrl_agent_process.cc
+2
-2
No files found.
src/bin/agent/ctrl_agent_cfg_mgr.cc
View file @
432a5757
...
...
@@ -21,13 +21,13 @@ CtrlAgentCfgMgr::~CtrlAgentCfgMgr() {
}
std
::
string
CtrlAgentCfgMgr
::
getConfigSummary
(
const
uint32_t
selection
)
{
CtrlAgentCfgMgr
::
getConfigSummary
(
const
uint32_t
/*selection*/
)
{
return
(
"Control Agent is currently not configurable."
);
}
isc
::
dhcp
::
ParserPtr
CtrlAgentCfgMgr
::
createConfigParser
(
const
std
::
string
&
element_id
,
const
isc
::
data
::
Element
::
Position
&
pos
)
{
const
isc
::
data
::
Element
::
Position
&
/*pos*/
)
{
// Create dummy parser, so as we don't return null pointer.
isc
::
dhcp
::
ParserPtr
parser
;
parser
.
reset
(
new
Uint32Parser
(
element_id
,
getContext
()
->
getUint32Storage
()));
...
...
src/bin/agent/ctrl_agent_process.cc
View file @
432a5757
...
...
@@ -46,7 +46,7 @@ CtrlAgentProcess::run() {
}
isc
::
data
::
ConstElementPtr
CtrlAgentProcess
::
shutdown
(
isc
::
data
::
ConstElementPtr
args
)
{
CtrlAgentProcess
::
shutdown
(
isc
::
data
::
ConstElementPtr
/*args*/
)
{
setShutdownFlag
(
true
);
return
(
isc
::
config
::
createAnswer
(
0
,
"Control Agent is shutting down"
));
}
...
...
@@ -61,7 +61,7 @@ CtrlAgentProcess::configure(isc::data::ConstElementPtr config_set) {
isc
::
data
::
ConstElementPtr
CtrlAgentProcess
::
command
(
const
std
::
string
&
command
,
isc
::
data
::
ConstElementPtr
args
)
{
isc
::
data
::
ConstElementPtr
/*args*/
)
{
return
(
isc
::
config
::
createAnswer
(
COMMAND_INVALID
,
"Unrecognized command: "
+
command
));
}
...
...
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