Commit f11756e5 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[5287] Minor grammar corrections.

parent 01495d15
...@@ -486,8 +486,8 @@ ...@@ -486,8 +486,8 @@
from which to extract the information, with a value of 0 indicating from which to extract the information, with a value of 0 indicating
the relay closest to the DHCPv6 server. Negative values allow to the relay closest to the DHCPv6 server. Negative values allow to
specify relays counted from the DHCPv6 client, -1 indicating the specify relays counted from the DHCPv6 client, -1 indicating the
relay closest. In general negative "nest" level is the same than relay closest to the client. In general negative "nest" level is
the number of relays + "nest" level. the same as the number of relays + "nest" level.
If the requested encapsulation doesn't exist an empty string "" If the requested encapsulation doesn't exist an empty string ""
is returned. This expression is allowed in DHCPv6 only. is returned. This expression is allowed in DHCPv6 only.
</para></listitem> </para></listitem>
......
...@@ -1135,12 +1135,12 @@ TEST_F(TokenTest, relay6Option) { ...@@ -1135,12 +1135,12 @@ TEST_F(TokenTest, relay6Option) {
// Level 2, no encapsulation so no options // Level 2, no encapsulation so no options
verifyRelay6Option(2, 100, TokenOption::TEXTUAL, ""); verifyRelay6Option(2, 100, TokenOption::TEXTUAL, "");
// Level -1, the same than level 1 // Level -1, the same as level 1
verifyRelay6Option(-1, 100, TokenOption::TEXTUAL, "hundred.one"); verifyRelay6Option(-1, 100, TokenOption::TEXTUAL, "hundred.one");
verifyRelay6Option(-1, 101, TokenOption::TEXTUAL, ""); verifyRelay6Option(-1, 101, TokenOption::TEXTUAL, "");
verifyRelay6Option(-1, 102, TokenOption::TEXTUAL, "hundredtwo.one"); verifyRelay6Option(-1, 102, TokenOption::TEXTUAL, "hundredtwo.one");
// Level -2, the same than level 0 // Level -2, the same as level 0
verifyRelay6Option(-2, 100, TokenOption::TEXTUAL, "hundred.zero"); verifyRelay6Option(-2, 100, TokenOption::TEXTUAL, "hundred.zero");
verifyRelay6Option(-2, 100, TokenOption::EXISTS, "true"); verifyRelay6Option(-2, 100, TokenOption::EXISTS, "true");
verifyRelay6Option(-2, 101, TokenOption::TEXTUAL, "hundredone.zero"); verifyRelay6Option(-2, 101, TokenOption::TEXTUAL, "hundredone.zero");
...@@ -1492,11 +1492,11 @@ TEST_F(TokenTest, relay6Field) { ...@@ -1492,11 +1492,11 @@ TEST_F(TokenTest, relay6Field) {
// Level 2 has no encapsulation so the address should be zero length // Level 2 has no encapsulation so the address should be zero length
verifyRelay6Eval(2, TokenRelay6Field::LINKADDR, 0, zeroaddr); verifyRelay6Eval(2, TokenRelay6Field::LINKADDR, 0, zeroaddr);
// Level -1 is the same than level 1 // Level -1 is the same as level 1
verifyRelay6Eval(-1, TokenRelay6Field::LINKADDR, 16, linkaddr); verifyRelay6Eval(-1, TokenRelay6Field::LINKADDR, 16, linkaddr);
verifyRelay6Eval(-1, TokenRelay6Field::PEERADDR, 16, peeraddr); verifyRelay6Eval(-1, TokenRelay6Field::PEERADDR, 16, peeraddr);
// Level -2 is the same than level 0 // Level -2 is the same as level 0
verifyRelay6Eval(-2, TokenRelay6Field::LINKADDR, 16, zeroaddr); verifyRelay6Eval(-2, TokenRelay6Field::LINKADDR, 16, zeroaddr);
verifyRelay6Eval(-2, TokenRelay6Field::PEERADDR, 16, zeroaddr); verifyRelay6Eval(-2, TokenRelay6Field::PEERADDR, 16, zeroaddr);
......
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