summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-02-09 04:15:29 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-02-09 04:15:29 -0500
commite611d966761270dbb80cf8ff77698d8b571a6ebe (patch)
treeb5822e59b07825f44798ef0c7ee08d66649a93de
parent59339ba3607f6ee944bce2d8e5cdf056774e139a (diff)
downloadvyatta-wanloadbalance-e611d966761270dbb80cf8ff77698d8b571a6ebe.tar.gz
vyatta-wanloadbalance-e611d966761270dbb80cf8ff77698d8b571a6ebe.zip
Use dhcp instead of dhcp3.
-rw-r--r--Makefile.am2
-rw-r--r--src/lbdata.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b1dedce..321c931 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-dhcphookdir = /etc/dhcp3/dhclient-exit-hooks.d
+dhcphookdir = /etc/dhcp/dhclient-exit-hooks.d
ppphookdir = /etc/ppp/ip-up.d
pppwanlbdir = /var/run/load-balance/ppp
cfgdir = $(datadir)/vyatta-cfg/templates
diff --git a/src/lbdata.cc b/src/lbdata.cc
index 99c36e7..60578de 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/dhcp3/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];