summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-27 17:45:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-27 17:45:59 +0000
commitc55f9831ab1a2ecde85fa1174c1d9dbebe250a53 (patch)
tree5671cd71c4e5dcda43bda18708d75b9d62c8ff56 /include
parent1805486ae50cbeaaffcef37e66e79f3d985da4bf (diff)
Added auto-binding, picks the first ip in the <bind> tags that isnt localhost or INADDR_ANY, and auto binds to that IP to allow us to put back the security tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4064 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspsocket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h
index c9cc70acf..7e8593391 100644
--- a/include/inspsocket.h
+++ b/include/inspsocket.h
@@ -156,6 +156,8 @@ private:
*/
bool ClosePending;
+ bool BindAddr();
+
public:
/**