diff options
Diffstat (limited to 'src/base/socket.hh')
-rw-r--r-- | src/base/socket.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/socket.hh b/src/base/socket.hh index 942318e45..fab7f7576 100644 --- a/src/base/socket.hh +++ b/src/base/socket.hh @@ -37,10 +37,14 @@ class ListenSocket static bool listeningDisabled; static bool anyListening; + static bool bindToLoopback; + public: static void disableAll(); static bool allDisabled(); + static void loopbackOnly(); + protected: bool listening; int fd; |