diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-11 20:32:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 20:32:33 +0100 |
commit | f9e64453738b2e341a49fb32fb3283938c20d8a9 (patch) | |
tree | 327d4d76d5ff4e1f3ae04f0fc58d65e8c9115551 | |
parent | 6cce69b78cf23d8dcf452e36199ac5da720dad7f (diff) | |
parent | cb3de3c77bcd7976806306ed0ae9b4ac5e9fc7a4 (diff) | |
download | vyatta-wanloadbalance-f9e64453738b2e341a49fb32fb3283938c20d8a9.tar.gz vyatta-wanloadbalance-f9e64453738b2e341a49fb32fb3283938c20d8a9.zip |
Merge pull request #23 from vyos/mergify/bp/sagitta/pr-211.4.0-epa21.4.0-epa1
T5741: Update dhclient lease path to /run/dhclient (backport #21)
-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]; |