diversario / node-ssdp

node.js SSDP client/server.
MIT License
274 stars 117 forks source link

Adapt to Node 18 ip info family type #117

Closed ghost closed 1 year ago

ghost commented 1 year ago

This PR adapts the if-condition such that even on Node 18 it represents the correct semantic. Should fix: https://github.com/diversario/node-ssdp/issues/115

ghost commented 1 year ago

Closing this, because this is fixed via Node v18.4.0, see https://github.com/nodejs/node/blob/v18.4.0/lib/os.js