summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorM. Hamzah Khan <hamzah@hamzahkhan.com>2023-11-14 19:32:39 +0000
committerM. Hamzah Khan <hamzah@hamzahkhan.com>2023-11-14 19:32:39 +0000
commit34846df882bf25d0e94e46fa1e402ff98151f85d (patch)
tree794fa787aeb6896406fd739d69c1c9335effba23 /src
parent5a3ab6c426928644dc9ad9a70296263781523919 (diff)
downloadvyatta-wanloadbalance-34846df882bf25d0e94e46fa1e402ff98151f85d.tar.gz
vyatta-wanloadbalance-34846df882bf25d0e94e46fa1e402ff98151f85d.zip
T5741: Update dhclient lease path to /run/dhclient
Diffstat (limited to 'src')
-rw-r--r--src/lbdata.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lbdata.cc b/src/lbdata.cc
index ed36e37..9a86f29 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("/run/dhclient/dhclient_"+h_iter->first+".lease");
FILE *fp = fopen(file.c_str(),"r");
if (fp) {
char str[1025];