OpenBSD CVS

CVS log for src/usr.sbin/ifstated/ifstated.h


[BACK] Up to [local] / src / usr.sbin / ifstated

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 20 17:49:29 2017 UTC (6 years, 9 months ago) by rob
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Stop tracking interface indexes. Suggested by deraadt.

Tweaks and ok jca@
"just get it in" deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Mon Aug 14 03:15:28 2017 UTC (6 years, 9 months ago) by rob
Branch: MAIN
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

Remove some dead logging code that was never used.

Ok benno@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 23 13:48:18 2017 UTC (6 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Time comparison variables should be time_t (I did check for signed vs
unsigned handling)
ok jca

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 4 21:04:14 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Fix some variable alignment whitespace.
From Rob Pierce

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jul 2 15:28:26 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Second diff to rename additional "always" variable in struct ifsd_config.
from Rob Pierce.
Requested by stsp@

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jul 2 14:30:35 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Remove unused variable from header file.
from Rob Pierce.

ok stsp@ and me

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 2 14:27:30 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Rename one of the "always" variables to "body" for improved readability.
No functional change.
from Rob Pierce.

ok stsp@ and me

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 28 11:10:08 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

whitespace fixes, from Rob Pierce and me

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 18 12:03:47 2017 UTC (6 years, 11 months ago) by benno
Branch: MAIN
Changes since 1.10: +1 -18 lines
Diff to previous 1.10 (colored)

update log.c in ifstated to the same used in bgpd etc.
Done by Rob Pierce <rob AT 2keys DOT ca>, thanks

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 19 08:04:53 2016 UTC (7 years, 10 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.9: +3 -5 lines
Diff to previous 1.9 (colored)

remove bogus attributes from ifstated, spooted by guenther@

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 18 21:17:32 2016 UTC (7 years, 10 months ago) by benno
Branch: MAIN
Changes since 1.8: +17 -9 lines
Diff to previous 1.8 (colored)

add format attributes to log functions
ok stsp@ claudio@ florian@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 3 18:44:36 2014 UTC (9 years, 7 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Convert the logic in yyerror().  Instead of creating a temporary
format string, create a temporary message.
OK claudio@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 6 21:42:40 2013 UTC (11 years, 3 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

as done in ospf{,6}d/relayd, sync yyerror in various other daemons with
that from bgpd, so that it logs to syslog when daemonized.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 4 13:50:14 2010 UTC (14 years, 4 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

remove assumption that internal IFSD_LINK* defines are the same as
LINK_STATE* defines in <net/if.h>, which were changed Sep 14.  this
fixes link state down being treated as up.

ok claudio@ henning@

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 25 06:03:31 2007 UTC (16 years, 7 months ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.4: +10 -7 lines
Diff to previous 1.4 (colored)

sync logging with most other daemons.
ok mcbride@, mpf@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 10 00:13:38 2004 UTC (20 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

spacing

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 15 00:56:01 2004 UTC (20 years, 3 months ago) by mcbride
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

- Check error condition on config; load exit() on initial startup, simply
  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@

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 5 02:18:55 2004 UTC (20 years, 4 months ago) by mcbride
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Clean up command line options:
- Make -v work as intended.
- Add -n to test config without doing anything.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 4 23:47:49 2004 UTC (20 years, 4 months ago) by mcbride
Branch: MAIN

Update to ifstated; replace parser, introduce the concept of states,
external tests, and boolean logic. Allows ifstated to handle partial
failures on firewalls that are CARPd to each other.

ok deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.