diff options
author | M. Hamzah Khan <hamzah@hamzahkhan.com> | 2023-11-14 19:32:39 +0000 |
---|---|---|
committer | M. Hamzah Khan <hamzah@hamzahkhan.com> | 2023-11-14 19:32:39 +0000 |
commit | 34846df882bf25d0e94e46fa1e402ff98151f85d (patch) | |
tree | 794fa787aeb6896406fd739d69c1c9335effba23 /src | |
parent | 5a3ab6c426928644dc9ad9a70296263781523919 (diff) | |
download | vyatta-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.cc | 2 |
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]; |