* is for IP V4 CIDR notation, but prepared for V6: just
* add the necessary bits where the comments indicate.
*
- * $Id: network.c,v 1.7 1999/03/22 05:00:57 momjian Exp $
+ * $Id: network.c,v 1.8 1999/04/15 02:20:50 thomas Exp $
* Jon Postel RIP 16 Oct 1998
*/
network_sub(inet *a1, inet *a2)
{
if (!PointerIsValid(a1) || !PointerIsValid(a2))
- return NULL;
+ return FALSE;
if ((ip_family(a1) == AF_INET) && (ip_family(a2) == AF_INET))
{
network_subeq(inet *a1, inet *a2)
{
if (!PointerIsValid(a1) || !PointerIsValid(a2))
- return NULL;
+ return FALSE;
if ((ip_family(a1) == AF_INET) && (ip_family(a2) == AF_INET))
{
network_sup(inet *a1, inet *a2)
{
if (!PointerIsValid(a1) || !PointerIsValid(a2))
- return NULL;
+ return FALSE;
if ((ip_family(a1) == AF_INET) && (ip_family(a2) == AF_INET))
{
network_supeq(inet *a1, inet *a2)
{
if (!PointerIsValid(a1) || !PointerIsValid(a2))
- return NULL;
+ return FALSE;
if ((ip_family(a1) == AF_INET) && (ip_family(a2) == AF_INET))
{