summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Stepler <brandon@stepler.net>2021-03-08 12:40:00 -0500
committerChristian Poessinger <christian@poessinger.com>2021-04-20 19:38:22 +0200
commit17ac65c52d6935a3974453c50f9fe6344df73f96 (patch)
tree6604f3a2c0aa7d7ca60fe3bd82cc31eb71acccca
parentcc830ead7b3289b5bee4c673de7a0f45990dc26c (diff)
downloadvyatta-wanloadbalance-1.3.3.tar.gz
vyatta-wanloadbalance-1.3.3.zip
wanloadbalance: T3395: fix DHCP filename and ICMP status line1.3.3-epa11.3.31.3.2
(cherry picked from commit 2c42f5ec145f1332f23498313473af3d5b24ab44)
-rw-r--r--src/lbdata.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbdata.cc b/src/lbdata.cc
index 60578de..ed36e37 100644
--- a/src/lbdata.cc
+++ b/src/lbdata.cc
@@ -332,7 +332,7 @@ LBData::update_dhcp_nexthop()
LBData::InterfaceHealthIter h_iter = _iface_health_coll.begin();
while (h_iter != _iface_health_coll.end()) {
if (h_iter->second._nexthop == "dhcp") {
- string file("/var/lib/dhcp/dhclient_"+h_iter->first+"_lease");
+ string file("/var/lib/dhcp/dhclient_"+h_iter->first+".lease");
FILE *fp = fopen(file.c_str(),"r");
if (fp) {
char str[1025];