diff options
| author | Christian Poessinger <christian@poessinger.com> | 2021-03-08 19:40:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-08 19:40:35 +0100 |
| commit | 51ce6e8fd61110e7f2c1e305edea026712d70076 (patch) | |
| tree | f46eabd182f6c150ea23c68c168967f8aa3119e9 /src/lbdata.cc | |
| parent | f8de65b5d150c95be839305ecfc8c219c3ef70ca (diff) | |
| parent | 2c42f5ec145f1332f23498313473af3d5b24ab44 (diff) | |
| download | vyatta-wanloadbalance-51ce6e8fd61110e7f2c1e305edea026712d70076.tar.gz vyatta-wanloadbalance-51ce6e8fd61110e7f2c1e305edea026712d70076.zip | |
Merge pull request #10 from bstepler/T3395
wanloadbalance: T3395: fix DHCP filename and ICMP status line
Diffstat (limited to 'src/lbdata.cc')
| -rw-r--r-- | src/lbdata.cc | 2 |
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]; |
