mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Replaced the old ugly ipv6 compilation hack by a conditional in Modules.
This commit is contained in:
parent
2c2f67bd83
commit
294c182eb1
@ -2,10 +2,13 @@ birdlib.h
|
|||||||
bitops.c
|
bitops.c
|
||||||
bitops.h
|
bitops.h
|
||||||
ip.h
|
ip.h
|
||||||
ipv4.c
|
#ifdef CONFIG_IPV6
|
||||||
ipv4.h
|
|
||||||
ipv6.c
|
ipv6.c
|
||||||
ipv6.h
|
ipv6.h
|
||||||
|
#else
|
||||||
|
ipv4.c
|
||||||
|
ipv4.h
|
||||||
|
#endif
|
||||||
lists.c
|
lists.c
|
||||||
lists.h
|
lists.h
|
||||||
md5.c
|
md5.c
|
||||||
|
@ -6,11 +6,7 @@
|
|||||||
* Can be freely distributed and used under the terms of the GNU GPL.
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef IPV6
|
|
||||||
|
|
||||||
#include "nest/bird.h"
|
#include "nest/bird.h"
|
||||||
#include "lib/ip.h"
|
#include "lib/ip.h"
|
||||||
|
|
||||||
#error "Ought to implement these."
|
#error "Ought to implement these."
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
* Can be freely distributed and used under the terms of the GNU GPL.
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _BIRD_IPV4_H_
|
#ifndef _BIRD_IPV6_H_
|
||||||
#define _BIRD_IPV4_H_
|
#define _BIRD_IPV6_H_
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user