summaryrefslogtreecommitdiff
path: root/src/lbdatafactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lbdatafactory.cc')
-rw-r--r--src/lbdatafactory.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lbdatafactory.cc b/src/lbdatafactory.cc
index 1cfcd34..877c78e 100644
--- a/src/lbdatafactory.cc
+++ b/src/lbdatafactory.cc
@@ -198,6 +198,9 @@ LBDataFactory::process_health_interface(const string &key, const string &value)
syslog(LOG_ERR, "wan_lb: illegal ping-resp specified in configuration file: %s", value.c_str());
}
}
+ else if (key == "nexthop") {
+ _health_iter->second._nexthop = value;
+ }
else if (key == "health") {
//nothing
}