diff options
-rwxr-xr-x | bitbake/bin/bitbake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index f3bbeb4667..d263cbdb66 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -204,7 +204,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): | |||
204 | def start_server(servermodule, configParams, configuration): | 204 | def start_server(servermodule, configParams, configuration): |
205 | server = servermodule.BitBakeServer() | 205 | server = servermodule.BitBakeServer() |
206 | if configParams.bind: | 206 | if configParams.bind: |
207 | server.initServer((configParams.bind, 0)) | 207 | (host, port) = configParams.bind.split(':') |
208 | server.initServer((host, int(port))) | ||
208 | else: | 209 | else: |
209 | server.initServer() | 210 | server.initServer() |
210 | 211 | ||
@@ -313,7 +314,7 @@ def main(): | |||
313 | bb.event.ui_queue = [] | 314 | bb.event.ui_queue = [] |
314 | server_connection.terminate() | 315 | server_connection.terminate() |
315 | else: | 316 | else: |
316 | print("server address: %s, server port: %s" % (server.serverinfo.host, server.serverinfo.port)) | 317 | print("server address: %s, server port: %s" % (server.serverImpl.host, server.serverImpl.port)) |
317 | 318 | ||
318 | return 1 | 319 | return 1 |
319 | 320 | ||