pool: fix public port option.

This commit is contained in:
Christopher Jeffrey 2018-04-01 13:37:39 -07:00
parent 0c3657e167
commit a85ff2bbe9
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -3733,7 +3733,7 @@ class PoolOptions {
}
if (options.publicPort != null) {
assert((options.publicPort & 0xff) === options.publicPort);
assert((options.publicPort & 0xffff) === options.publicPort);
this.publicPort = options.publicPort;
}