mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 23:50:30 -04:00
modified to use kqueue/kevent and sysctl. The ifstated daemon runs commands in response to network state changes, which it determines by monitoring interface link state or running exter- nal tests. For example, it can be used with carp(4) to change running services or to ensure that carp(4) interfaces stay in sync, or with pf(4) to test server or link availability and modify translation or routing rules. PR: ports/74096 Submitted by: Matthew George <mdg@secureworks.net>
25 lines
624 B
Text
25 lines
624 B
Text
--- parse.y 18 Nov 2004 21:43:12 -0000 1.1.1.1
|
|
+++ parse.y 18 Nov 2004 21:48:39 -0000 1.2
|
|
@@ -1,4 +1,5 @@
|
|
/* $OpenBSD: parse.y,v 1.7 2004/04/28 01:00:50 deraadt Exp $ */
|
|
+/* $Id: parse.y,v 1.2 2004/11/18 21:48:39 mdg Exp $ */
|
|
|
|
/*
|
|
* Copyright (c) 2004 Ryan McBride <mcbride@openbsd.org>
|
|
@@ -24,6 +25,7 @@
|
|
#include <sys/types.h>
|
|
#include <sys/time.h>
|
|
#include <sys/socket.h>
|
|
+#include <sys/limits.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
#include <net/if.h>
|
|
@@ -35,7 +37,7 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <syslog.h>
|
|
-#include <event.h>
|
|
+#include <sys/event.h>
|
|
|
|
#include "ifstated.h"
|
|
|