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
BIND
Commits
cdd5e378
Commit
cdd5e378
authored
Oct 28, 1999
by
Andreas Gustafsson
Browse files
isc_netaddr_t now has a "family" field
parent
0dc4e6a6
Changes
2
Show whitespace changes
Inline
Side-by-side
lib/isc/include/isc/netaddr.h
View file @
cdd5e378
...
...
@@ -24,6 +24,7 @@
ISC_LANG_BEGINDECLS
typedef
struct
isc_netaddr
{
unsigned
int
family
;
union
{
struct
in_addr
in
;
struct
in6_addr
in6
;
...
...
lib/isc/unix/interfaceiter.c
View file @
cdd5e378
...
...
@@ -51,7 +51,8 @@
*/
static
void
get_addr
(
int
family
,
isc_netaddr_t
*
dst
,
struct
sockaddr
*
src
)
{
get_addr
(
unsigned
int
family
,
isc_netaddr_t
*
dst
,
struct
sockaddr
*
src
)
{
dst
->
family
=
family
;
switch
(
family
)
{
case
AF_INET
:
memcpy
(
&
dst
->
type
.
in
,
...
...
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