summaryrefslogtreecommitdiff
path: root/usr.sbin/ifstated
AgeCommit message (Expand)Author
2017-08-30Add support for interface departure and arrival.rob
2017-08-21Remove unnecessary NULL check and fix an incorrect warning.rob
2017-08-20Stop tracking interface indexes. Suggested by deraadt.rob
2017-08-14Remove some dead logging code that was never used.rob
2017-08-08Use configtest as one word like other network daemon man pages.rob
2017-08-08Consistent use of log.c, and removal of err.h include. Makes ifstatedrob
2017-08-06Improve error checking during processing of routing messages. Handling ofrob
2017-07-24Use pledge(2)Jeremie Courreges-Anglas
2017-07-23Don't bother initializing global variables to 0, since they will be in BSS.Theo de Raadt
2017-07-23use ssize_t; ok jcaTheo de Raadt
2017-07-23Time comparison variables should be time_t (I did check for signed vsTheo de Raadt
2017-07-22No need for sys/ioctl.h any moreJeremie Courreges-Anglas
2017-07-21Add a newlineJeremie Courreges-Anglas
2017-07-21No need for ioctl(SIOCGIFDATA), getifaddrs(3) gives us the link stateJeremie Courreges-Anglas
2017-07-04delete tokens that have never been used.Sebastian Benoit
2017-07-04rename fetch_state() to fetch_ifstate(). The word "state" is a bitSebastian Benoit
2017-07-04Fix some variable alignment whitespace.Sebastian Benoit
2017-07-03Remove obvious clear_config() comments and misleading state_change() comments.Sebastian Benoit
2017-07-02Second diff to rename additional "always" variable in struct ifsd_config.Sebastian Benoit
2017-07-02Remove unused variable from header file.Sebastian Benoit
2017-07-02Remove variable assignment in declaration and add whitespace to improveSebastian Benoit
2017-07-02Rename one of the "always" variables to "body" for improved readability.Sebastian Benoit
2017-06-28whitespace fixes, from Rob Pierce and meSebastian Benoit
2017-06-28usage() gets __dead attribute, from Rob PierceSebastian Benoit
2017-06-27Hoist some privileged code in preparation for future work.Sebastian Benoit
2017-06-18update log.c in ifstated to the same used in bgpd etc.Sebastian Benoit
2017-03-21From a syslog perspective it does not make sense to log fatal andAlexander Bluhm
2017-01-05Replace hand-rolled for(;;) emptying of 'symhead' TAILQ with moreKenneth R Westerback
2017-01-05Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQKenneth R Westerback
2016-09-02work on making log.c similar in all daemons:Sebastian Benoit
2016-08-27Pull in <time.h> for one or more of gmtime, strftime, strptime, time,Philip Guenther
2016-07-19remove bogus attributes from ifstated, spooted by guenther@Sebastian Benoit
2016-07-18add format attributes to log functionsSebastian Benoit
2016-06-21do not allow whitespace in macro names, i.e. "this is" = "a variable".Sebastian Benoit
2016-01-29Fix err.h uses, reporting errno when available and simplifying errormmcc
2015-09-25drop useless .Xo and .Bk, and shorten by avoiding some .SmIngo Schwarze
2014-11-20Don't allow embedded nul characters in strings.Jonathan Gray
2014-11-03Convert the logic in yyerror(). Instead of creating a temporaryAlexander Bluhm
2014-11-03Add gcc format attributes to more warn/error functions in parse.y files.Doug Hogan
2014-01-22relax the cfg file secrecy check slightly to allow group readabilityHenning Brauer
2013-11-25use u_char for buffers in yylex, for ctype callsSebastian Benoit
2013-05-30setsockopt to see messages for interfaces in all routing domains againHenning Brauer
2013-03-06as done in ospf{,6}d/relayd, sync yyerror in various other daemons withStuart Henderson
2012-04-24take a stab at documenting when arguments need quoted, and valid macroJason McIntyre
2011-07-04LINK_STATE_IS_UP() cleanup userland part. There is no need to specialClaudio Jeker
2011-03-15use appropriate timerclear macro - from Christiano F. HaesbaertOkan Demirmen
2010-08-03fix linecount bug with comments spanning multiple linesHenning Brauer
2010-07-20do not use gcc -W options which you do not understandTheo de Raadt
2010-07-07Make ifstated cause a little less noise in /var/log/daemon.Stefan Sperling
2010-06-07setproctitle(NULL) is not needed, Michael Lechtermann; ok mpfTheo de Raadt