/*
* Copyright (C) 2002 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* $Id: load_pool.c,v 1.14.2.2 2005/02/01 02:44:06 darrenr Exp $
*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2014, Joyent, Inc. All rights reserved.
*/
#include <fcntl.h>
#include "ipf.h"
#include "netinet/ip_lookup.h"
#include "ipfzone.h"
{
ip_pool_node_t *a;
return -1;
return -1;
}
if ((opts & OPT_REMOVE) == 0) {
if ((opts & OPT_DONOTHING) == 0) {
perror("load_pool:SIOCLOOKUPADDTABLE");
return -1;
}
}
if ((opts & OPT_VERBOSE) != 0) {
}
if ((opts & OPT_REMOVE) != 0) {
if ((opts & OPT_DONOTHING) == 0) {
perror("load_pool:SIOCLOOKUPDELTABLE");
return -1;
}
}
return 0;
}