summaryrefslogtreecommitdiff
path: root/src/net/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ipc.h')
-rw-r--r--src/net/ipc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ipc.h b/src/net/ipc.h
index b9960abce..611dba35c 100644
--- a/src/net/ipc.h
+++ b/src/net/ipc.h
@@ -49,6 +49,9 @@ public:
static void stop();
private:
+ void setPort(const unsigned short port)
+ { mPort = port; }
+
bool mListen;
unsigned int mNumReqs;
unsigned short mPort;