summaryrefslogtreecommitdiff
path: root/iprule.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-04-05 13:45:08 +0200
committerJo-Philipp Wich <jow@openwrt.org>2013-04-05 13:54:09 +0200
commit800e5e5f50b62af1b7054f41331a4cc0d7802f65 (patch)
tree7fd7f4ffd5413422b80f8f63371acef55fa0bd79 /iprule.h
parent8dacaf753b57c703f215b0c844b412b64183ac81 (diff)
downloadnetifd-800e5e5f50b62af1b7054f41331a4cc0d7802f65.tar.gz
Maintain config order of ip rules unless user explicitely provides priority
Diffstat (limited to 'iprule.h')
-rw-r--r--iprule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/iprule.h b/iprule.h
index 75c6a2b..4b10760 100644
--- a/iprule.h
+++ b/iprule.h
@@ -59,6 +59,7 @@ enum iprule_flags {
struct iprule {
struct vlist_node node;
+ unsigned int order;
/* everything below is used as avl tree key */
enum iprule_flags flags;