Socket
Socket
Sign inDemoInstall

nat-upnp

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nat-upnp - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

6

lib/nat-upnp/ssdp.js

@@ -162,2 +162,6 @@ var dgram = require('dgram'),

}
// Remove /24 part from address
route.destination = route.destination.replace(/\/\d+$/, '');
if (route.destination && route.netmask) {

@@ -168,4 +172,2 @@ return ip.isEqual(ip.mask(remote.address, route.netmask),

if (route.destination) {
// Remove /24 part from address
route.destination = route.destination.replace(/\/\d+$/, '');
return ip.isEqual(remote.address, route.destination) ||

@@ -172,0 +174,0 @@ ip.isEqual(route.destination, '::');

{
"name": "nat-upnp",
"version": "0.2.6",
"version": "0.2.7",
"main": "lib/nat-upnp",

@@ -5,0 +5,0 @@ "author": "Fedor Indutny <fedor@indutny.com>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc