summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ifstated/ifstated.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stop tracking interface indexes. Suggested by deraadt.rob2017-08-201-2/+2
| | | | | Tweaks and ok jca@ "just get it in" deraadt@
* Remove some dead logging code that was never used.rob2017-08-141-3/+1
| | | | Ok benno@
* Time comparison variables should be time_t (I did check for signed vsderaadt2017-07-231-3/+3
| | | | | unsigned handling) ok jca
* Fix some variable alignment whitespace.benno2017-07-041-4/+4
| | | | From Rob Pierce
* Second diff to rename additional "always" variable in struct ifsd_config.benno2017-07-021-2/+2
| | | | | from Rob Pierce. Requested by stsp@
* Remove unused variable from header file.benno2017-07-021-2/+1
| | | | | | from Rob Pierce. ok stsp@ and me
* Rename one of the "always" variables to "body" for improved readability.benno2017-07-021-2/+2
| | | | | | | No functional change. from Rob Pierce. ok stsp@ and me
* whitespace fixes, from Rob Pierce and mebenno2017-06-281-3/+1
|
* update log.c in ifstated to the same used in bgpd etc.benno2017-06-181-18/+1
| | | | Done by Rob Pierce <rob AT 2keys DOT ca>, thanks
* remove bogus attributes from ifstated, spooted by guenther@benno2016-07-191-5/+3
|
* add format attributes to log functionsbenno2016-07-181-9/+17
| | | | ok stsp@ claudio@ florian@
* Convert the logic in yyerror(). Instead of creating a temporarybluhm2014-11-031-1/+2
| | | | | format string, create a temporary message. OK claudio@
* as done in ospf{,6}d/relayd, sync yyerror in various other daemons withsthen2013-03-061-1/+2
| | | | that from bgpd, so that it logs to syslog when daemonized.
* remove assumption that internal IFSD_LINK* defines are the same asstevesk2010-02-041-4/+4
| | | | | | | LINK_STATE* defines in <net/if.h>, which were changed Sep 14. this fixes link state down being treated as up. ok claudio@ henning@
* sync logging with most other daemons.pyr2007-10-251-7/+10
| | | | ok mcbride@, mpf@
* spacingderaadt2004-03-101-3/+3
|
* - Check error condition on config; load exit() on initial startup, simplymcbride2004-02-151-2/+3
| | | | | | | | warn if loading due to SIGHUP. (pointed out by mpf@) - Can't just bcopy the config struct, there are TAILQs. Pass pointers instead. - Initialise the SIGHUP and routing socket handlers after config is loaded. ok henning@
* Clean up command line options:mcbride2004-02-051-1/+2
| | | | | - Make -v work as intended. - Add -n to test config without doing anything.
* Update to ifstated; replace parser, introduce the concept of states,mcbride2004-02-041-0/+141
external tests, and boolean logic. Allows ifstated to handle partial failures on firewalls that are CARPd to each other. ok deraadt@