along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: tincd.c,v 1.10.4.15 2000/10/21 11:52:08 guus Exp $
+ $Id: tincd.c,v 1.10.4.17 2000/10/29 00:02:20 guus Exp $
*/
#include "config.h"
#include <signal.h>
#include <openssl/rand.h>
#include <openssl/rsa.h>
+#include <string.h>
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#include "net.h"
#include "netutl.h"
#include "protocol.h"
+#include "subnet.h"
#include "system.h"
{
int r;
int option_index = 0;
- config_t *p;
-
+
while((r = getopt_long(argc, argv, "c:Ddkn:K::", long_options, &option_index)) != EOF)
{
switch(r)
RETSIGTYPE
sigusr2_handler(int a)
{
- if(debug_lvl > DEBUG_NOTHING)
- syslog(LOG_NOTICE, _("Got USR2 signal, forcing new key generation"));
+ dump_subnet_list();
+// if(debug_lvl > DEBUG_NOTHING)
+// syslog(LOG_NOTICE, _("Got USR2 signal, forcing new key generation"));
/* FIXME: reprogram this.
regenerate_keys();
*/