summaryrefslogtreecommitdiff
path: root/src/lbdata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lbdata.cc')
-rw-r--r--src/lbdata.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lbdata.cc b/src/lbdata.cc
index a2666e7..24447b7 100644
--- a/src/lbdata.cc
+++ b/src/lbdata.cc
@@ -346,6 +346,10 @@ LBTest::init()
}
_initialized = true;
+ if (_debug) {
+ cout << "LBTest::init()" << endl;
+ }
+
struct protoent *ppe = getprotobyname("icmp");
_send_icmp_sock = socket(PF_INET, SOCK_RAW, ppe->p_proto);
if (_send_icmp_sock < 0){
@@ -399,6 +403,10 @@ LBTest::init()
}
}
+/**
+ *
+ *
+ **/
LBTest::~LBTest()
{
if (_recv_icmp_sock != 0) {