aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'pingu_conf.c')
-rw-r--r--pingu_conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pingu_conf.c b/pingu_conf.c
index ad433e8..d425322 100644
--- a/pingu_conf.c
+++ b/pingu_conf.c
@@ -138,6 +138,8 @@ static int pingu_conf_read_iface(struct pingu_conf *conf, char *ifname)
iface->gw_down_action = xstrdup(value);
} else if (strcmp(key, "required-hosts-online") == 0) {
iface->required_hosts_online = atoi(value);
+ } else if (strcmp(key, "rule-priority") == 0) {
+ iface->rule_priority = atoi(value);
} else if (strcmp(key, "load-balance") == 0) {
int weight = 0;
if (value != NULL) {