pmcf 6.67.0 → 6.67.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.67.0",
3
+ "version": "6.67.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -435,7 +435,9 @@ export class kea extends CoreService {
435
435
  : { "ip-address": addr };
436
436
  }
437
437
 
438
- let other = {};
438
+ const other = {
439
+ "hw-address": k
440
+ };
439
441
 
440
442
  switch (family) {
441
443
  case "4":
@@ -443,6 +445,7 @@ export class kea extends CoreService {
443
445
  const dhcpClientId = networkInterface.dhcpClientId;
444
446
  if (dhcpClientId !== undefined) {
445
447
  other["client-id"] = dhcpClientId;
448
+ delete other["hw-address"];
446
449
  }
447
450
  }
448
451
  break;
@@ -454,9 +457,8 @@ export class kea extends CoreService {
454
457
  }
455
458
 
456
459
  return {
457
- ...ip,
458
- "hw-address": k,
459
460
  hostname: networkInterface.domainName,
461
+ ...ip,
460
462
  ...other
461
463
  };
462
464
  })