diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 5f07fa6f7aa858..f6c51217e0eae3 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -634,8 +634,8 @@ Type: End-of-Life
*Note*: change was made while `async_hooks` was an experimental API.
-
-### DEP00XX: Several internal properties of net.Server
+
+### DEP0073: Several internal properties of net.Server
Type: Runtime
diff --git a/lib/net.js b/lib/net.js
index 36efd27fa02345..52c033a132bc7e 100644
--- a/lib/net.js
+++ b/lib/net.js
@@ -1708,27 +1708,27 @@ if (process.platform === 'win32') {
Object.defineProperty(Server.prototype, '_usingSlaves', {
get: internalUtil.deprecate(function() {
return this._usingWorkers;
- }, 'Accessing internal properties of net.Server is deprecated.', 'DEP00XX'),
+ }, 'Accessing internal properties of net.Server is deprecated.', 'DEP0073'),
set: internalUtil.deprecate((val) => {
this._usingWorkers = val;
- }, 'Accessing internal properties of net.Server is deprecated.', 'DEP00XX'),
+ }, 'Accessing internal properties of net.Server is deprecated.', 'DEP0073'),
configurable: true, enumerable: false
});
Object.defineProperty(Server.prototype, '_slaves', {
get: internalUtil.deprecate(function() {
return this._workers;
- }, 'Accessing internal properties of net.Server is deprecated.', 'DEP00XX'),
+ }, 'Accessing internal properties of net.Server is deprecated.', 'DEP0073'),
set: internalUtil.deprecate((val) => {
this._workers = val;
- }, 'Accessing internal properties of net.Server is deprecated.', 'DEP00XX'),
+ }, 'Accessing internal properties of net.Server is deprecated.', 'DEP0073'),
configurable: true, enumerable: false
});
Object.defineProperty(Server.prototype, '_setupSlave', {
value: internalUtil.deprecate(function(socketList) {
return this._setupWorker(socketList);
- }, 'Accessing internal properties of net.Server is deprecated.', 'DEP00XX'),
+ }, 'Accessing internal properties of net.Server is deprecated.', 'DEP0073'),
configurable: true, enumerable: false
});