From d5abfc00dcf2e606fbac6eca78eea06ead233a12 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Fri, 29 Oct 2010 12:00:45 -0700 Subject: change first, last, firstlast behavior to apply environment setting on each action applied. will be used to help resolve problems identified w/ fw synchronization of rules. --- src/common/defs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/common') diff --git a/src/common/defs.h b/src/common/defs.h index dcced15..b931bd9 100644 --- a/src/common/defs.h +++ b/src/common/defs.h @@ -85,10 +85,20 @@ struct Data NODE_ACTIVATE _disable_op; //is this node currently deactivated? }; +/* + * additional data to be defined and used by client + */ +struct Aux +{ + boolean _first; + boolean _last; +}; + struct VyattaNode { struct Data _data; struct Config _config; + struct Aux _aux; }; #endif //__DEFS_H__ -- cgit v1.2.3