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
381ae719
Commit
381ae719
authored
Jun 17, 2015
by
Shawn Routhier
Browse files
[3795] Fix some typos
parent
c4ea96d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
doc/guide/dhcp6-srv.xml
View file @
381ae719
...
...
@@ -2589,7 +2589,7 @@ should include options from the isc option space:
<para>
The DHCPv6 server supports the following statistics:
</para>
<table
frame=
"all"
id=
"dhcp
4
-statistics"
>
<table
frame=
"all"
id=
"dhcp
6
-statistics"
>
<title>
DHCPv4 Statistics
</title>
<tgroup
cols=
'3'
>
<colspec
colname=
'statistic'
align=
'center'
/>
...
...
@@ -2628,8 +2628,8 @@ should include options from the isc option space:
<entry>
integer
</entry>
<entry>
Number of ADVERTISE packets received. Advertise packets are sent
by the server and the server is never expected to receive them.
N
on-zero
value of t
r
is statistic indicates an error ocurring in the network.
by the server and the server is never expected to receive them.
A n
on-zero
value of t
h
is statistic indicates an error ocurring in the network.
One likely cause would be a misbehaving relay agent that incorrectly
forwards ADVERTISE messages towards the server, rather back to the
clients.
...
...
@@ -2641,8 +2641,8 @@ should include options from the isc option space:
<entry>
integer
</entry>
<entry>
Number of REQUEST packets received. This statistic
is expected to grow. Its increase means that clients that just booted
received server's response (ADVERTISE), accepted it and
now requesting
an address (REQUEST).
received
the
server's response (ADVERTISE), accepted it and
are now
requesting
an address (REQUEST).
</entry>
</row>
...
...
@@ -2652,7 +2652,7 @@ should include options from the isc option space:
<entry>
Number of REPLY packets received. This statistic is
expected to remain zero at all times, as REPLY packets are sent by
the server and the server is never expected to receive
them.
N
on-zero value indicates an error. One likely cause would be
them.
A n
on-zero value indicates an error. One likely cause would be
a misbehaving relay agent that incorrectly forwards REPLY messages
towards the server, rather back to the clients.
</entry>
...
...
@@ -2670,9 +2670,9 @@ should include options from the isc option space:
<row>
<entry>
pkt6-rebind-received
</entry>
<entry>
integer
</entry>
<entry>
Number of REBIND packets received.
N
on-zero value
of statistic
<entry>
Number of REBIND packets received.
A n
on-zero value
indicates that clients didn't receive responses to their RENEW messages
(regular lease renewal mechanism) and attempting to find any server
(regular lease renewal mechanism) and
are
attempting to find any server
that is able to take over their leases. It may mean that some server's
REPLY messages never reached the clients.
</entry>
...
...
@@ -2684,8 +2684,8 @@ should include options from the isc option space:
<entry>
Number of RELEASE packets received. This statistic is expected
to grow every time a device is being shut down in the network. It
indicates that the address or prefix assigned is reported as no longer
needed. Note that in wireless networks, number of RELEASE messages
is significantly lower than number of REQUEST messages.
needed. Note that in wireless networks,
the
number of RELEASE messages
is significantly lower than
the
number of REQUEST messages.
</entry>
</row>
...
...
@@ -2729,13 +2729,13 @@ should include options from the isc option space:
<entry>
Number of DHCPv6 packets sent. This statistic is expected
to grow every time the server transmits a packet. In general, it
should roughly match pkt6-received, as most incoming packets cause
server to respond. There are exceptions (e.g. server receiving a
the
server to respond. There are exceptions (e.g. server receiving a
REQUEST with server-id matching other server), so do not worry, if
it is lesser than pkt6-received.
</entry>
</row>
<row>
<entry>
pkt6-advertise
r
-sent
</entry>
<entry>
pkt6-advertise-sent
</entry>
<entry>
integer
</entry>
<entry>
Number of ADVERTISE packets sent. This statistic is
expected to grow in most cases after a SOLICIT is processed. There
...
...
@@ -2758,8 +2758,8 @@ should include options from the isc option space:
<entry>
pkt6-parse-failed
</entry>
<entry>
integer
</entry>
<entry>
Number of incoming packets that could not be parsed.
N
on-zero value of this statistic indicates that the server
received malformed or truncated packet. This may indicate problems
A n
on-zero value of this statistic indicates that the server
received
a
malformed or truncated packet. This may indicate problems
in your network, faulty clients, faulty relay agents or server
code bug.
</entry>
</row>
...
...
src/bin/dhcp6/dhcp6_srv.cc
View file @
381ae719
...
...
@@ -440,7 +440,7 @@ bool Dhcpv6Srv::run() {
.
arg
(
query
->
getIface
())
.
arg
(
e
.
what
());
// Increase the statistics of parse failues and dropped packets.
// Increase the statistics of parse failu
r
es and dropped packets.
isc
::
stats
::
StatsMgr
::
instance
().
addValue
(
"pkt6-parse-failed"
,
static_cast
<
int64_t
>
(
1
));
isc
::
stats
::
StatsMgr
::
instance
().
addValue
(
"pkt6-receive-drop"
,
...
...
@@ -2937,7 +2937,7 @@ void Dhcpv6Srv::processRSOO(const Pkt6Ptr& query, const Pkt6Ptr& rsp) {
}
void
Dhcpv6Srv
::
processStatsReceived
(
const
Pkt6Ptr
&
query
)
{
// Note that we're not bumping pkt
4
-received statistic as it was
// Note that we're not bumping pkt
6
-received statistic as it was
// increased early in the packet reception code.
string
stat_name
=
"pkt6-unknown-received"
;
...
...
src/bin/dhcp6/tests/sarr_unittest.cc
View file @
381ae719
...
...
@@ -287,7 +287,7 @@ TEST_F(SARRTest, rapidCommitDisable) {
TEST_F
(
SARRTest
,
sarrStats
)
{
// Let's use one of the existing configurations and tell the client to
// as for an address.
// as
k
for an address.
Dhcp6Client
client
;
configure
(
CONFIGS
[
1
],
*
client
.
getServer
());
client
.
setInterface
(
"eth1"
);
...
...
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