diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2016-02-09 04:15:29 -0500 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2016-02-09 04:15:29 -0500 |
commit | e611d966761270dbb80cf8ff77698d8b571a6ebe (patch) | |
tree | b5822e59b07825f44798ef0c7ee08d66649a93de | |
parent | 59339ba3607f6ee944bce2d8e5cdf056774e139a (diff) | |
download | vyatta-wanloadbalance-e611d966761270dbb80cf8ff77698d8b571a6ebe.tar.gz vyatta-wanloadbalance-e611d966761270dbb80cf8ff77698d8b571a6ebe.zip |
Use dhcp instead of dhcp3.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | src/lbdata.cc | 2 |
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]; |