summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-11 20:32:33 +0100
committerGitHub <noreply@github.com>2023-12-11 20:32:33 +0100
commitf9e64453738b2e341a49fb32fb3283938c20d8a9 (patch)
tree327d4d76d5ff4e1f3ae04f0fc58d65e8c9115551
parent6cce69b78cf23d8dcf452e36199ac5da720dad7f (diff)
parentcb3de3c77bcd7976806306ed0ae9b4ac5e9fc7a4 (diff)
downloadvyatta-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.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];