summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lbdata.cc2
-rw-r--r--src/lbtest_icmp.cc11
-rw-r--r--src/lbtest_icmp.hh3
3 files changed, 1 insertions, 15 deletions
diff --git a/src/lbdata.cc b/src/lbdata.cc
index 60578de..ed36e37 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("/var/lib/dhcp/dhclient_"+h_iter->first+".lease");
FILE *fp = fopen(file.c_str(),"r");
if (fp) {
char str[1025];
diff --git a/src/lbtest_icmp.cc b/src/lbtest_icmp.cc
index 5bdc14d..743895c 100644
--- a/src/lbtest_icmp.cc
+++ b/src/lbtest_icmp.cc
@@ -173,17 +173,6 @@ LBTestICMP::send(int send_sock, const string &iface, const string &target_addr,
}
}
-/**
- *
- *
- **/
-string
-LBTestICMP::status()
-{
- //set the status line to be used when the show command is invoked
- return name() + "\t" + string("Target: ") + _target;
-}
-
/**
diff --git a/src/lbtest_icmp.hh b/src/lbtest_icmp.hh
index 2de9115..e081f49 100644
--- a/src/lbtest_icmp.hh
+++ b/src/lbtest_icmp.hh
@@ -38,9 +38,6 @@ public:
string
name() {return string("ping");}
- string
- status();
-
private:
void
send(int sock, const string &iface, const string &target_addr, int packet_id);