Commit ecffd3a7 authored by Shane Kerr's avatar Shane Kerr
Browse files

[878] Remove unused variables to build works.

parent b2cab797
......@@ -21,8 +21,8 @@
.SH "NAME"
b10-dhcp6 \- DHCPv6 daemon in BIND10 architecture
.SH "SYNOPSIS"
.HP \w'\fBb10\-dhcp6\fR\ 'u
\fBb10\-dhcp6\fR [\fB\-u\ \fR\fB\fIusername\fR\fR] [\fB\-v\fR]
.HP \w'\fBb10\-dhcp6
\fBb10\-dhcp6\fR [\fB\-v\fR]
.SH "DESCRIPTION"
.PP
The
......
......@@ -40,7 +40,6 @@ Dhcpv6Srv::run() {
pkt = IfaceMgr::instance().receive();
if (pkt) {
Addr6 client = pkt->remote_addr_;
cout << "Received " << pkt->data_len_ << " bytes, echoing back."
<< endl;
IfaceMgr::instance().send(*pkt);
......
......@@ -61,22 +61,14 @@ usage() {
int
main(int argc, char* argv[]) {
int ch;
const char* uid = NULL;
bool cache = true;
while ((ch = getopt(argc, argv, ":nu:v")) != -1) {
while ((ch = getopt(argc, argv, ":v")) != -1) {
switch (ch) {
case 'n':
cache = false;
break;
case 'u':
uid = optarg;
break;
case 'v':
verbose_mode = true;
isc::log::denabled = true;
break;
case '?':
case ':':
default:
usage();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment