summaryrefslogtreecommitdiffstats
path: root/include/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rule.h')
-rw-r--r--include/rule.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/include/rule.h b/include/rule.h
index 06fefef8..ac69b306 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -217,13 +217,16 @@ struct chain {
struct location location;
unsigned int refcnt;
uint32_t flags;
- struct prio_spec priority;
- struct hook_spec hook;
- struct expr *policy;
- const char *type;
- const char **dev_array;
- struct expr *dev_expr;
- int dev_array_len;
+ struct {
+ struct location loc;
+ struct prio_spec priority;
+ struct hook_spec hook;
+ struct expr *policy;
+ const char *type;
+ const char **dev_array;
+ struct expr *dev_expr;
+ int dev_array_len;
+ };
struct scope scope;
struct list_head rules;
};