load_poolnode.c revision 94bdecd9e84ae1042607002db3e64a6849da5874
/*
* Copyright (C) 2002 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* $Id: load_poolnode.c,v 1.3.2.1 2004/03/06 14:33:29 darrenr Exp $
*
* Copyright (c) 2014, Joyent, Inc. All rights reserved.
*/
#include <fcntl.h>
#include "ipf.h"
#include "netinet/ip_lookup.h"
#include "ipfzone.h"
static int poolfd = -1;
int role;
char *name;
{
int err;
return -1;
return -1;
}
if ((opts & OPT_REMOVE) == 0)
else
if (err != 0) {
if ((opts & OPT_DONOTHING) == 0) {
perror("load_pool:SIOCLOOKUP*NODE");
return -1;
}
}
return 0;
}