1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Taught Netlink how to behave in IPv6 world.

This commit is contained in:
Martin Mares
1999-08-03 19:37:37 +00:00
parent 4f22c98185
commit 4532a89e31
4 changed files with 53 additions and 13 deletions

View File

@@ -23,9 +23,11 @@ volatile int async_shutdown_flag;
#ifdef IPV6
#define BIRD_PF PF_INET6
#define BIRD_AF AF_INET6
typedef struct sockaddr_in6 sockaddr;
#else
#define BIRD_PF PF_INET
#define BIRD_AF AF_INET
typedef struct sockaddr_in sockaddr;
#endif