diff options
author | Michael Larson <slioch@eng-140.vyatta.com> | 2008-06-27 09:24:08 -0700 |
---|---|---|
committer | Michael Larson <slioch@eng-140.vyatta.com> | 2008-06-27 09:24:08 -0700 |
commit | 21457bb0f52695a335060d24bfae4f236baf6b0c (patch) | |
tree | b1ff93defcb2fcbdf10fb7bba99e95cf1a7ca1c5 | |
parent | 56a2b3d8c34310ba1f05125464efa126440392f0 (diff) | |
download | vyatta-wanloadbalance-21457bb0f52695a335060d24bfae4f236baf6b0c.tar.gz vyatta-wanloadbalance-21457bb0f52695a335060d24bfae4f236baf6b0c.zip |
missing socket close statement.
-rw-r--r-- | src/lbdecision.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc index 1ec21a7..192a98b 100644 --- a/src/lbdecision.cc +++ b/src/lbdecision.cc @@ -433,6 +433,7 @@ LBDecision::fetch_iface_addr(const string &iface) struct in_addr in; in.s_addr = sin->sin_addr.s_addr; char *tmp_buf = inet_ntoa(in); + close(fd); return string(tmp_buf); } usleep(500 * 1000); //.5 second sleep |