pmcf 2.11.3 → 2.11.4

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": "2.11.3",
3
+ "version": "2.11.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -172,13 +172,15 @@ export class DHCPService extends Service {
172
172
  }
173
173
  }
174
174
 
175
- const reservations = [...hwmap].map(([k, networkInterface]) => {
176
- return {
177
- "hw-address": k,
178
- "ip-address": networkInterface.rawAddress,
179
- hostname: networkInterface.hostName
180
- };
181
- });
175
+ const reservations = [...hwmap]
176
+ .map(([k, networkInterface]) => {
177
+ return {
178
+ "hw-address": k,
179
+ "ip-address": networkInterface.rawIPv4Address,
180
+ hostname: networkInterface.hostName
181
+ };
182
+ })
183
+ .sort((a, b) => a.hostname.localeCompare(b.hostname));
182
184
 
183
185
  const dhcp4 = {
184
186
  Dhcp4: {