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
Sebastian Schrader
Kea
Commits
76fa5523
Commit
76fa5523
authored
Oct 01, 2012
by
Tomek Mrugalski
🛰
Browse files
[master] Compilation fix in src/lib/dhcp/addr_utilities.cc (after 2238 merge)
parent
09e793e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/addr_utilities.cc
View file @
76fa5523
...
...
@@ -22,7 +22,7 @@ namespace dhcp {
isc
::
asiolink
::
IOAddress
firstAddrInPrefix
(
const
isc
::
asiolink
::
IOAddress
&
prefix
,
uint8_t
len
)
{
static
char
bitMask
[]
=
{
0
,
0x80
,
0xc0
,
0xe0
,
0xf0
,
0xf8
,
0xfc
,
0xfe
,
0xff
};
const
static
uint8_t
bitMask
[]
=
{
0
,
0x80
,
0xc0
,
0xe0
,
0xf0
,
0xf8
,
0xfc
,
0xfe
,
0xff
};
uint8_t
packed
[
V6ADDRESS_LEN
];
// First we copy the whole address as 16 bytes.
...
...
@@ -57,7 +57,7 @@ isc::asiolink::IOAddress firstAddrInPrefix(const isc::asiolink::IOAddress& prefi
isc
::
asiolink
::
IOAddress
lastAddrInPrefix
(
const
isc
::
asiolink
::
IOAddress
&
prefix
,
uint8_t
len
)
{
static
char
bitMask
[]
=
{
0
,
0x80
,
0xc0
,
0xe0
,
0xf0
,
0xf8
,
0xfc
,
0xfe
,
0xff
};
const
static
uint8_t
bitMask
[]
=
{
0
,
0x80
,
0xc0
,
0xe0
,
0xf0
,
0xf8
,
0xfc
,
0xfe
,
0xff
};
uint8_t
packed
[
V6ADDRESS_LEN
];
// First we copy the whole address as 16 bytes.
...
...
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