From 4532a89e31734a457d4debe56df713d66e31cdd6 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 3 Aug 1999 19:37:37 +0000 Subject: Taught Netlink how to behave in IPv6 world. --- sysdep/unix/unix.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdep/unix/unix.h') diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h index 4cced091..e3c9708d 100644 --- a/sysdep/unix/unix.h +++ b/sysdep/unix/unix.h @@ -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 -- cgit v1.2.3