pmcf 6.44.7 → 6.44.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -53,9 +53,9 @@ export class NetworkInterface extends SkeletonNetworkInterface {
|
|
|
53
53
|
private: true
|
|
54
54
|
},
|
|
55
55
|
hwaddr: { ...string_attribute_writable, name: "hwaddr" },
|
|
56
|
-
destination: { ...string_attribute_writable, name: "destination" }
|
|
56
|
+
destination: { ...string_attribute_writable, name: "destination" }
|
|
57
57
|
|
|
58
|
-
/*
|
|
58
|
+
/*
|
|
59
59
|
InitialCongestionWindow: { ...number_attribute_writable, name: "InitialCongestionWindow", default: 10, configurable: true },
|
|
60
60
|
InitialAdvertisedReceiveWindow: { ...number_attribute_writable, name: "InitialAdvertisedReceiveWindow", default: 10, configurable: true },
|
|
61
61
|
*/
|
|
@@ -73,6 +73,14 @@ export class NetworkInterface extends SkeletonNetworkInterface {
|
|
|
73
73
|
_hwaddr;
|
|
74
74
|
_class;
|
|
75
75
|
|
|
76
|
+
get cidrAddresses() {
|
|
77
|
+
return cidrAddresses(this.networkAddresses());
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
get cidrAddress() {
|
|
81
|
+
return cidrAddresses(this.networkAddresses())[0];
|
|
82
|
+
}
|
|
83
|
+
|
|
76
84
|
addSubnet(address) {
|
|
77
85
|
if (this.network) {
|
|
78
86
|
return this.network.addSubnet(address);
|
|
@@ -113,7 +121,7 @@ export class NetworkInterface extends SkeletonNetworkInterface {
|
|
|
113
121
|
set hostName(value) {
|
|
114
122
|
this._hostName = value;
|
|
115
123
|
}
|
|
116
|
-
|
|
124
|
+
|
|
117
125
|
get domains() {
|
|
118
126
|
if (!this.host) {
|
|
119
127
|
return new Set();
|