networks).
Removed old #ifndef logic which was used to avoid IPv4/IPv6 clashes
before conditionals in Modules lists were introduced.
~~~~
* protocols: implement dumping of protocol-dependent rte attributes
+- io.c: refuse old-style multicasts for unnumbered interfaces?
+
- prefer loopback addresses as router IDs (dummy interface?)
- config: executable config files
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#ifndef IPV6
-
#include <string.h>
#include <stdlib.h>
{
if (b == 0x7f)
return IADDR_HOST | SCOPE_HOST;
+ else if (b == 0x0a ||
+ (a & 0xffff0000) == 0xc0a80000 ||
+ (a & 0xfff00000) == 0xac100000)
+ return IADDR_HOST | SCOPE_SITE;
else
return IADDR_HOST | SCOPE_UNIVERSE;
}
*o = ipa_from_u32(ia);
return 1;
}
-
-#endif