pmcf 2.47.1 → 2.48.1
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 +1 -1
- package/src/services/dhcp.mjs +4 -4
- package/src/subnet.mjs +1 -0
- package/types/subnet.d.mts +1 -0
package/package.json
CHANGED
package/src/services/dhcp.mjs
CHANGED
|
@@ -295,18 +295,18 @@ export class DHCPService extends Service {
|
|
|
295
295
|
subnet: subnet.longAddress,
|
|
296
296
|
pools: [{ pool: subnet.addressRange.join(" - ") }],
|
|
297
297
|
|
|
298
|
-
"pd-pools": [
|
|
298
|
+
/*"pd-pools": [
|
|
299
299
|
{
|
|
300
300
|
prefix: "2001:db8:8::",
|
|
301
301
|
"prefix-len": 56,
|
|
302
302
|
"delegated-len": 64
|
|
303
303
|
}
|
|
304
|
-
]
|
|
304
|
+
],*/
|
|
305
305
|
reservations: [
|
|
306
|
-
{
|
|
306
|
+
/*{
|
|
307
307
|
duid: "01:02:03:04:05:0A:0B:0C:0D:0E",
|
|
308
308
|
"ip-addresses": ["2001:db8:1::100"]
|
|
309
|
-
}
|
|
309
|
+
}*/
|
|
310
310
|
]
|
|
311
311
|
};
|
|
312
312
|
}),
|
package/src/subnet.mjs
CHANGED
|
@@ -89,6 +89,7 @@ export const SUBNET_GLOBAL_IPV4 = new Subnet(_owner, "0.0.0.0/0");
|
|
|
89
89
|
export const SUBNET_GLOBAL_IPV6 = new Subnet(_owner, "::0/0");
|
|
90
90
|
export const SUBNET_LOCALHOST_IPV4 = new Subnet(_owner, "127.0.0.1/8");
|
|
91
91
|
export const SUBNET_LOCALHOST_IPV6 = new Subnet(_owner, "::1/128");
|
|
92
|
+
export const SUBNET_LINK_LOCAL_IPV6 = new Subnet(_owner, "fe80::/64");
|
|
92
93
|
|
|
93
94
|
export function subnets(sources) {
|
|
94
95
|
const all = new Set();
|
package/types/subnet.d.mts
CHANGED