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

Simplifies val_in_range().

Also fixes missing type check for element ~ set.
This commit is contained in:
Ondrej Zajicek
2013-10-02 11:42:46 +02:00
parent ec57bbf67f
commit b655596d1d
2 changed files with 42 additions and 59 deletions

View File

@@ -34,6 +34,12 @@
#define NULL ((void *) 0)
#endif
#ifndef IPV6
#define IP_VERSION 4
#else
#define IP_VERSION 6
#endif
/* Macros for gcc attributes */
#define NORET __attribute__((noreturn))