pmcf 6.2.6 → 6.2.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/host.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.2.6",
3
+ "version": "6.2.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/host.mjs CHANGED
@@ -111,13 +111,13 @@ export class Host extends ServiceOwner {
111
111
 
112
112
  for (const host of this.walkDirections(["extends"])) {
113
113
  for (const ni of host.networkInterfaces.values()) {
114
- const present = this._networkInterfaces.get(ni.name);
114
+ const present = this.networkInterfaces.get(ni.name);
115
115
 
116
116
  if (present) {
117
117
  present.extends.add(ni);
118
118
  present.materializeExtends();
119
119
  } else {
120
- this.networkInterfaces = ni.forOwner(this);
120
+ this.networkInterfaces.set(ni.name, ni.forOwner(this));
121
121
  }
122
122
  }
123
123
  }